Monday, December 17, 2007

How to make the Cookies more secure

How to make the Cookies more secure

S T E P - 1

- We can setup the Cookies that only your web server can accept it:

<%

Response.cookies("YourCookies").domain = "/www.abc.com/"

%>

S T E P - 2

- The path (or folder) can also use it:

<%

Response.cookies("YourCookies").domain = "/myAsp"

%>

S T E P - 3

- We can set the Cookies which can only transfer to the web server by using the SSL(Secure Sockets Layer) :

<%

Response.cookies("YourCookies").secure = True

%>


No comments: