https://owasp.org/www-project-top-ten/
OWASP Top Ten | OWASP Foundation
The OWASP Top 10 is the reference standard for the most critical web application security risks. Adopting the OWASP Top 10 is perhaps the most effective first step towards changing your software development culture focused on producing secure code.
owasp.org
<Container>
{getUser() ? ( <CartContainer>
<Title><BsCart4/><span>장바구니</span></Title>
<table style={{marginTop:"10px"}}striped bordered hover >
<thead style={{borderTop:"1px solid black",borderBottom:"1px solid black"}}>
<tr>
<th style={{width:"10%"}}>#</th>
<th>상품정보</th>
<th>상품금액</th>
<th>배송비</th>
</tr>
</thead>
<tbody>
<tr style={{marginTop:"10px",borderTop:"1px solid black",borderBottom:"1px solid black"}}>
<td>
<img style={{width:"78px", height:"78px"}} src="./images/image/1.webp" alt="" />
</td>
<TdItem style={{verticalAlign:"top"}}>
<h1>가나다라마바사</h1>
<p>가나다라마바사</p>
</TdItem>
<td style={{verticalAlign:"top"}}>금액</td>
<td style={{verticalAlign:"top"}}>배송비</td>
</tr>
</tbody>
</table>
</CartContainer>): <div>잘못된 경로입니다</div>}
</Container>
유저 접근페이지에서는 getuser()함수를 사용해서 삼항연산자로 분류를 한다, athenticate state같은걸 만들어도 될 것같음
'프로그래밍 > Weekly I Learned' 카테고리의 다른 글
2023.11.21+ framer-motion drag이벤트 (0) | 2023.11.22 |
---|---|
2023.11.20+ 로그인 유무에 따른 장바구니 페이지 이동 (1) | 2023.11.20 |
2023.11.16 로그인 기능 에러해결 (0) | 2023.11.16 |
2023.11.13+ 리액트 노드 연결 (0) | 2023.11.14 |
2023.11.12+ 쇼핑몰 디테일페이지 만들기 (0) | 2023.11.13 |