Click here to Skip to main content

Web Development

   

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page  Show 
  Refresh
QuestionSharepoint upload directory to sharepoint library PinmemberMember 861792021:31 9 Feb '12  
QuestionWhat tool(s) to use [modified] PinmemberDavidCrow8:42 9 Feb '12  
AnswerRe: What tool(s) to use Pinmembermark merrens9:57 9 Feb '12  
AnswerVisual studio 2010 & MS-SQL 2008 PinmemberDavid Mujica10:04 9 Feb '12  
AnswerRe: What tool(s) to use PinmemberBernhard Hiller22:08 9 Feb '12  
QuestionCreate controls in the page dynamically in MVC Pinmembermeeram3951:12 9 Feb '12  
QuestionDeny anonymous access to webpages and files Pinmemberofirkif21:25 7 Feb '12  
Hi everyone,
I have a business site that I need to secure.
I wrote the site in ASP and the platform is IIS 7.
I need that the users must login to see the web pages and the photos.
I mean that just authorized users will have access.
 
The first way i thought is to make ASP session after validating the user and password of each try via SQL database, this is good way I think and I know to do so.
Now by this way any anonymous user will not have any access to webpages, but the problem is that if the user will type direct photo URL like mydomain.com/images/1.jpg any user have access and even anonymous can see them.
I need that only sessioned users will have access, those that not authorized, I want to deny.
How can I do it?
Your help will very appreciated as I tried so many searches and didn't find anything helpful.
Thank you!
Ofir
AnswerRe: Deny anonymous access to webpages and files Pinmemberjohny101519813:40 9 Feb '12  
GeneralRe: Deny anonymous access to webpages and files Pinmemberofirkif23:17 14 Feb '12  
QuestionCSS Hacks Pinmemberzyck20:35 7 Feb '12  
AnswerRe: CSS Hacks Pinmvpthatraja2:51 8 Feb '12  
GeneralRe: CSS Hacks Pinmemberzyck3:18 9 Feb '12  
AnswerRe: CSS Hacks Pingroupaakash_18:57 9 Feb '12  
QuestionCheckbox list With search capability Pinmembersuryakant4it22:40 6 Feb '12  
QuestionQuery PinmemberMember 859825319:47 31 Jan '12  
AnswerRe: Query Pinmemberegenis18:39 2 Feb '12  
Generalneed code editor for forum site Pinmemberrakeshkmr19850:19 30 Jan '12  
GeneralRe: need code editor for forum site PinmemberWayne Gaylard0:24 30 Jan '12  
GeneralRe: need code editor for forum site Pinmemberrakeshkmr19850:31 30 Jan '12  
GeneralRe: need code editor for forum site PinmemberWayne Gaylard0:37 30 Jan '12  
Questiontext and images PinmemberMember 85982530:12 30 Jan '12  
AnswerRe: text and images Pinmvpthatraja2:05 30 Jan '12  
QuestionImport a Microsoft-built Website Into Dreamweaver PinmemberRoger Wright17:18 27 Jan '12  
AnswerRe: Import a Microsoft-built Website Into Dreamweaver PinmvpMark Nischalke3:04 28 Jan '12  
QuestionInternet Explorer plugin pop up PinmemberLetsMond3:39 27 Jan '12  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Beta | 2.5.120517.1 | Last Updated 21 May 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid