• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 169
  • Last Modified:

Can i stop password protected images bringing a dialog box up?

Well this is my problem, I have a forum and people keep posting images which are password protected and this is bringing up a username and password dialog box up, is there any way i can stop this?
0
Nathanroys
Asked:
Nathanroys
2 Solutions
 
Jason C. LevineNo oneCommented:
Hi Nathanroys,

Not real easy to do.  Obviously, you can disable images and that solves that problem albeit it's a bit draconian.

The other option would involve a preview step and a script that somehow checks to see if an authentication request header is sent to the browser instead of an image.  But I have no idea where to begin writing that script or if it is even possible to do.
0
 
NathanroysAuthor Commented:
Thanks for your quick reply, this had helped me alot but unfortunatly has not solved my problem, I am stuck with the same part as yourself, if there are no other replys i will accept yours as the correct answer because of how helpful you have been.
0
 
Jason C. LevineNo oneCommented:
Wait about 24 hours to see if more replies come and if not, then click "Request Attention" in your original post and ask the Mods to resend alerts.

My "official" answer at this time is you can't do what you want and that's what you should accept if no one else steps in to correct me.  For your sake, I hope I'm wrong about this.
0
 
Eric AKA NetminderCommented:
In a word, no, unless you have permissions at the server level.

One assumes the images are linked from a website, and that they're stored in a folder that requires permissions to see. Those permissions aren't set at the website level (like they are at EE), but rather at the server level.

Jason is spot on.

ep

0
 
b0lsc0ttCommented:
Do you have the option of using a server language or have the ability to use some technology like .NET?  If so which?
What about requiring images used on your forums to be uploaded to your server?  I would think in many cases you'd want to avoid having people link to material with copyrights and on other's sites.
With server code you might be able to do the test the experts above mentioned.  The real question is how easy will it be to implement in your code for the forum and will that support it.  In most cases I would wonder if allowing the images is really worth it since it sounds like abuse at least exists (and might be common for you to ask about this).
bol
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now