Jump to content

Secure Area Problems


tombarnett

Recommended Posts

Hey, apologies if this is in the wrong forum or doesn't make any sense, I'm not big on PHP and yeah.  Anyway, I've been given the task of creating a secure area for copyrighted material at a school; they need the kids (1,200 of them) to be able to access very expensive resources that just sticking in a web folder may revoke licenses for.  A number of these files are images so a simple content management system wasn't going to do it, and with time constraints something more complex was ruled out.  To complicate matters, the site is run on an IIS Windows 2003 Server which I have no experience with whatsoever, and to further complicate things the users are already stored in a mysql database, so I can't just start something from scratch.

 

I came up with a solution however, one which works a dream in Firefox but unfortunately not in Internet Explorer (surprise surprise) which authenticates the user then in the code redirects them (using header) to http://user:password@website.com/folder/ (a single username has been set up for this folder using IISPassword) - in firefox this logs them in (albeit with a message) whilst in IE the browser rejects this URL syntax.  I was wondering if anyone here had any suggestions for a way round this problem?  Theres probably something blindingly obvious but as I say I'm somewhat of a PHP novice.

 

Thanks in advance for any help that you may be able to give.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.