N
NWx
Hi,
I have an ASP.NET app with forms security.
User are allowed to upload files (which are "attached" to user accounts in
database)
Documents are saved in a subfolder of the application, then in a
sub-subfolder with the same name as user account.
For example, for user jo, the document will be saved in
documents/jo/a_picture.jpg
Then after logon, user can see all his attached documents in a datagrid,
with a link to open/download
But, if user remember the url without being logged in, and type it into the
browser's address bar, he/she can open / download the document.
How can I extend the security features of ASP.NET form's security to protect
not only ASPX pages, but also all other documents in application's virtual
folder and subfolders?
Thank you
I have an ASP.NET app with forms security.
User are allowed to upload files (which are "attached" to user accounts in
database)
Documents are saved in a subfolder of the application, then in a
sub-subfolder with the same name as user account.
For example, for user jo, the document will be saved in
documents/jo/a_picture.jpg
Then after logon, user can see all his attached documents in a datagrid,
with a link to open/download
But, if user remember the url without being logged in, and type it into the
browser's address bar, he/she can open / download the document.
How can I extend the security features of ASP.NET form's security to protect
not only ASPX pages, but also all other documents in application's virtual
folder and subfolders?
Thank you