T
Technical
Hi,
I'm currently working on a webproject with ASP.NET 2.0, Visual Studio
2005, and SQL Server 2005 that allows users to search for and view
images. My problems is that I need a way to limit users from directly
accessing or linking to the images, but without needing to require
users to logon.
Currently, the site stores the images in a private directory and uses
the database for searches and file path information (I.E. the Image
WebControl, ImageURL receives the file path). How do I allow the user
to view images in the private folder (by use of an aspx page and Image
WebControl) without making them public, or how can I store them so that
directly accessing the file sends the user to a search page?
Any help would be greatly appreciated. Thanks in advance!
I'm currently working on a webproject with ASP.NET 2.0, Visual Studio
2005, and SQL Server 2005 that allows users to search for and view
images. My problems is that I need a way to limit users from directly
accessing or linking to the images, but without needing to require
users to logon.
Currently, the site stores the images in a private directory and uses
the database for searches and file path information (I.E. the Image
WebControl, ImageURL receives the file path). How do I allow the user
to view images in the private folder (by use of an aspx page and Image
WebControl) without making them public, or how can I store them so that
directly accessing the file sends the user to a search page?
Any help would be greatly appreciated. Thanks in advance!