Application Programming Interface (API) Security is a critical aspect of modern software development, especially as APIs become the backbone of digital communication between applications. APIs enable systems, services, and devices to exchange data and functionality seamlessly, but this convenience also introduces security risks if not properly managed. API security focuses on protecting the integrity, confidentiality, and availability of APIs. Common threats include unauthorized access, data breaches, injection attacks, and man-in-the-middle attacks. To mitigate these risks, developers implement security measures such as authentication, authorization, rate limiting, input validation, and encryption. Authentication ensures that only verified users or systems can access the API, while authorization restricts their access based on permissions. OAuth 2.0 and API keys are commonly used for these purposes. Rate limiting helps prevent abuse and denial-of-service (DoS) attacks by controlling the number of requests a user can make. Additionally, input validation helps detect and block malicious data before it can exploit vulnerabilities. Reference - https://www.marketresearchfuture.com/reports/application-programming-interface-api-security-market-31786
안녕하세요 7분쯤 유형 2번 설명을 듣다 문득 궁금해 질문 드립니다. 보통 객체를 생성자로부터 생성하면서 맴버변수에 값을 할당하는것으로 알고 있습니다. ex) public handbag(int price){ this.price = price; } handbag bag1 = new handbag(4000); 네 다음과 같은 형식으로요 근데 유형2 코드에서는 생성자가 없고 Child 클래스단에 value 변수를 선언하고 메서드가 하나 있습니다. 그렇다면 child 클래스에 대한 객체를 생성했을때 객체 obj는 자동으로 int value = 20 의 값을 가지게 되는건가요?
flywayClean 실행해보면 다음과 같이 에러가 뜨는데요. 뭐가 문제인걸까요 ㅠㅠ FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':flywayClean'. > Error occurred while executing flywayClean No database found to handle jdbc:mysql://localhost:3308/jooq 이전 단계에서 다음과 같이 세팅은 잘 마쳤어요. val jooqVersion: String by extra("3.19.21") val dbUrl = "jdbc:mysql://localhost:3308/jooq" val dbUsername = "root" val dbPassword = "1234" val dbDrive = "com.mysql.cj.jdbc.Driver" ... flyway { driver = dbDrive url = dbUrl user = dbUsername password = dbPassword locations = arrayOf("classpath:db/migration") }
로그인 에러 처리시 email 형식이 잘못된거와 default값만 출력이 됩니다. 다른분이 올리신 이전 질문글을 바탕으로 ( https://inf.run/mR9EP ) firebase.js도 수정해보았는데 변화는 없었습니다. 수정하여 올려주신 코드에서 import { getReactNativePersistence, initializeAuth } from 'firebase/auth/react-native'; 로 할 시 iOS Bundling failed 1456ms index.js (926 modules) Unable to resolve "firebase/auth/react-native" from "src\api\firebase.js" 이런 오류가 발생해서 아래의 코드로 작성했습니다. import { getReactNativePersistence, initializeAuth } from 'firebase/auth'; 아이디와 비밀번호를 가져오는 부분에서 firebase쪽과 문제가 있는거 같은데 어떤부분이 문제인지 궁금해서 질문드립니다! 깃 주소는 https://github.com/dvrakry/rn-photo2 입니다.
안녕하세요. 강의에 수강 기한이 있는 줄 모르고 첫 강의를 모두 수강한 후, 나중에 다시 복습하려고 했을 때 수강이 불가능하여 부득이하게 한 차례 재구매를 했었습니다. 최근 다시 복습을 진행하고 있는데, 수강 기한이 얼마 남지 않아 동일한 가격으로 세 번째 구매를 하려니 다소 부담이 되는 상황입니다. 혹시 별도로 수강 기간을 연장할 수 있는 방법이 있는지 문의드리고자 합니다.
파이썬 동시성 프로그래밍 : 데이터 수집부터 웹 개발까지 (feat. FastAPI, async, await)
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요 . 스크린샷이 안되서 안타깝긴 한데 강의상의 inflearn-teaching-backend-drf가 어디있을까요?
안녕하세요. jwt 11 버전 설명해주시면서 생성과 검증에 대한 궁금증이 생기는데요. 생성을 위해서는 base64로 인코딩 된 값을 디코더 하신 뒤 SecretKeySpec을 이용한 뒤 HS512로 암호화 하셨는데요. 검증 부분에서는 base64로 인코딩 된 값(디코더와 SecretKeySpec가 이루어지지 않은 채로)으로 토큰 검증 및 claims를 추출하는데 이 부분에서 문제가 없는 걸까요?
혹시 최신버전인 미어캣으로 수강해도 괜찮을까요? BTS앱 까진 돌핀으로 수강했는데 Twice로 넘어오니 오류가 자꾸 생깁니다. 액티비티를 하나 더 추가하고 - intent문은 복붙도 안했는데 - 화면이 에뮬레이터에서 어떻게 나오나 보려고 빌드하고 앱실행했더니 java.lang.NullpointException Error가 뜨는데, 버전이 안맞아서 그래들과 sdk버전을 올리라는데 초보라 해결방법도 모르겠고요 최신버전이면 이런 오류가 안나지 않을까 해서 그럽니다. (안드로이드 스튜디오를 클린 삭제하고 몇번이나 다시 해봐도 같은 오류가 다시 생기네요.)
Build started at 오전 3:06... 1>------ Build started: Project: ScriptGeneratorUbtPlugin.ubtplugin, Configuration: Development Any CPU ------ 2>------ Skipped Build: Project: UE5, Configuration: BuiltWithUnrealBuildTool Win64 ------ 2>Project not selected to build for this solution configuration 3>------ Build started: Project: UE5Rules, Configuration: Development Any CPU ------ 4>------ Build started: Project: ArenaBattle, Configuration: DebugGame_Editor x64 ------ 4>Using bundled DotNet SDK version: 6.0.302 1>ScriptGeneratorUbtPlugin.ubtplugin -> C:\Program Files\Epic Games\UE_5.4\Engine\Binaries\DotNET\UnrealBuildTool\Plugins\ScriptGeneratorUbtPlugin\ScriptGeneratorUbtPlugin.dll 4>Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" ArenaBattleEditor Win64 DebugGame -Project="D:\Unreal Projects\inflearn\ArenaBattle\ArenaBattle.uproject" -WaitMutex -FromMsBuild -architecture=x64 4>Log file: C:\Users\ljy57\AppData\Local\UnrealBuildTool\Log.txt 4>Using 'git status' to determine working set for adaptive non-unity build (D:\Unreal Projects\inflearn\ArenaBattle). 4>Building ArenaBattleEditor... 4>Using Visual Studio 2022 14.38.33144 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10). 4>Determining max actions to execute in parallel (8 physical cores, 16 logical cores) 4> Executing up to 8 processes, one per physical core 4>Using Parallel executor to run 5 action(s) 4>------ Building 5 action(s) started ------ 3>C:\Program Files\Epic Games\UE_5.4\Engine\Source\Programs\Shared\EpicGames.Horde\EpicGames.Horde.csproj : warning NU1903: Package 'Microsoft.Extensions.Caching.Memory' 6.0.1 has a known high severity vulnerability, https://github.com/advisories/GHSA-qj66-m88j-hmgj 3>Done building project "EpicGames.Oodle.csproj". 3>UE5Rules -> C:\Program Files\Epic Games\UE_5.4\Engine\Intermediate\Build\BuildRulesProjects\UE5Rules\bin\Development\UE5Rules.dll 5>------ Build started: Project: UE5ProgramRules, Configuration: Development Any CPU ------ 5>UE5ProgramRules -> C:\Program Files\Epic Games\UE_5.4\Engine\Intermediate\Build\BuildRulesProjects\UE5ProgramRules\bin\Development\UE5ProgramRules.dll 4>[1/5] Compile [x64] ABCharacterBase.cpp 4>C:\Program Files\Epic Games\UE_5.4\Engine\Source\Runtime\CoreUObject\Public\UObject\ConstructorHelpers.h(91): error C2664: 'void ConstructorHelpers::ValidateObject(UObject ,const FString &,const TCHAR )': cannot convert argument 1 from 'TObjectPtr<T>' to 'UObject *' 4> with 4> [ 4> T=UABCharacterControlData 4> ] 4>C:\Program Files\Epic Games\UE_5.4\Engine\Source\Runtime\CoreUObject\Public\UObject\ConstructorHelpers.h(91): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called 4>C:\Program Files\Epic Games\UE_5.4\Engine\Source\Runtime\CoreUObject\Public\UObject\ConstructorHelpers.h(193): note: see declaration of 'ConstructorHelpers::ValidateObject' 4>C:\Program Files\Epic Games\UE_5.4\Engine\Source\Runtime\CoreUObject\Public\UObject\ConstructorHelpers.h(91): note: while trying to match the argument list '(TObjectPtr<T>, FString, const TCHAR *)' 4> with 4> [ 4> T=UABCharacterControlData 4> ] 4>C:\Program Files\Epic Games\UE_5.4\Engine\Source\Runtime\CoreUObject\Public\UObject\ConstructorHelpers.h(91): note: the template instantiation context (the oldest one first) is 4>D:\Unreal Projects\inflearn\ArenaBattle\Source\ArenaBattle\Character\ABCharacterBase.cpp(49): note: see reference to class template instantiation 'ConstructorHelpers::FObjectFinder<UABCharacterControlData>' being compiled 4>C:\Program Files\Epic Games\UE_5.4\Engine\Source\Runtime\CoreUObject\Public\UObject\ConstructorHelpers.h(84): note: while compiling class template member function 'ConstructorHelpers::FObjectFinder<UABCharacterControlData>::FObjectFinder(const TCHAR *,uint32)' 4>D:\Unreal Projects\inflearn\ArenaBattle\Source\ArenaBattle\Character\ABCharacterBase.cpp(49): note: see the first reference to 'ConstructorHelpers::FObjectFinder<UABCharacterControlData>::FObjectFinder' in 'AABCharacterBase::AABCharacterBase' 4>[2/5] Compile [x64] ABCharacterPlayer.cpp 4>Total time in Parallel executor: 12.07 seconds 4>Total execution time: 13.25 seconds 4>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command ""C:\Program Files\Epic Games\UE_5.4\Engine\Build\BatchFiles\Build.bat" ArenaBattleEditor Win64 DebugGame -Project="D:\Unreal Projects\inflearn\ArenaBattle\ArenaBattle.uproject" -WaitMutex -FromMsBuild -architecture=x64" exited with code 6. 4>Done building project "ArenaBattle.vcxproj" -- FAILED. ========== Build: 3 succeeded, 1 failed, 45 up-to-date, 1 skipped ========== ========== Build completed at 오전 3:06 and took 13.983 seconds ========== 코드는 틀린게 없고 오류도 안뜨는데 빌드가 되지 않습니다.
OpenAI API를 활용하여 LLM Chain 구현하기 (실습) 에서 All attempts to connect to pypi.org failed. Probable Causes: - the server is not responding to requests at the moment - the hostname cannot be resolved by your DNS - your network is not connected to the internet You can also run your poetry command with -v to see more information. 이런 에러가뜹니다.. 미치겠네요..
template 변수를 빈 배열 리터럴 초기화한 후 배열에 push() 메서드를 사용하여 생성된 이미지 요소를 삽입하는 것이 맞다 봅니다. 나중에 출력 시 join() 메서드로 문자열 출력하는 것이 좋겠네요... 🙂 const API_URL = 'https://animal-api-two.vercel.app/'; const $content = document.querySelector('div.content'); let template = []; const getData = async () => { let res = await fetch(API_URL); try { if (res) { let data = await res.json(); data.photos.forEach((elm) => { template.push(`<img src="${elm.url}" alt="${elm.name}" />`); }); $content.innerHTML = template.join(' '); } } catch (err) { console.log(err); } }; getData(); ⚠ 답변은 평일 오전 10시에 순차적으로 작성해드립니다. ⚠ '질문 해결'은 답변 작성일 기준 1일 이후에 적용됩니다.
1:14:06 SQL 쿼리 작성하는 문제 2번에서, 'insert into 사원() select 사원번호,이름~~' 위와 같은 형태로 작성되어 있습니다. 'insert into 사원() values (select 사원번호, 이름~~)' 이런 형태로 작성되어야 옳은것이 아닌지 문의드립니다.