So you’ve seen the title of this blog post, but supposing you were to forget that, and link the concepts below … what would you have thought it was about?
- HTML/Javascript onerror event for img tag
- (Image) file permissions at web server
- Prompt for information to verify … “password”
- PHP Asynchronous Processing via exec and cURL (perhaps)
Imagine you may have come up with a number of ideas … maybe the way many blogs use captcha to verify you are a real person? … or a quiz question you got wrong? … but no, we are talking about the components of a home-grown image (security) protection system at a website. We are not pretending that this should replace any hosting arrangements your web hosting is capable of, like password-protected directories (on Apache (web server (using Linux))), for instance, but here we have a couple of “home-grown” ideas.
- Not that impressive client solution … but simply one image with stringent file protection and the other identical image (content, but different name (or it can be a different place)) without … use HTML/Javascript Image_Password_Protected.html … live run here (“password” you need to run this is Windows_Home_Title_Bar.jpg)
- More impressive client/server solution (but there is more than one way to annoy cat lovers, if you know what I mean) … image has stringent file protection as its default condition, but will allow a user (who gets “password” correct) through for a few seconds, and continuing while the cache survives for them … use PHP/HTML/Javascript Image_Password_Protected.php … live run here (“password” you need to run this is Windows_Home_Title_Bar.jpg) … this is very much “get you started code” in that it has hard-codings regarding the image name (and who’s to know if you are lucky enough to have cURL … would recommend it highly)
Here are some helpful tutorials … thanks … below …
- HTML/Javascript onerror event for img tag
- (Image) file permissions at web server
- Prompt for information to verify … “password”
- PHP Asynchronous Processing via cURL (perhaps)
In solution 2 (the PHP one) you may see some 1 == 2‘ized code … that stuff for abandoned ideas … that idea was to have a recursive situation using iframe HTML tag … sometimes these iframe ideas work, but cannot recommend such approaches in a generic sense, and think iframe is generally under pressure … and just hope they never disappear.
If this was interesting you may be interested in this too.
You have got some true insight. Why not hold some sort of contest for your readers?
Spot on with this write-up, I truly assume this web site wants considerably additional consideration. in all probability be again to read way much more, thanks for that information.
Merely a smiling visitant here to share the love (:, btw outstanding style and design. “Individuals may form communities, but it is institutions alone that can create a nation.” by Benjamin Disraeli.
Genuinely useful outlook, appreciate your sharing.. Extremely good mindset, thanks for giving.. of course, study is having to pay off. Adoring the posting.. with thanks
Supporting the thread.. thanks Adoring the thread.. thanks for your insight sure, analysis is paying off. of course, investigation is having to pay off.
I enjoy you expressing your point of view.. Enjoying the weblog.. glad I found it Definitely effective mindset, appreciate your expression.. Is not it awesome whenever you find a fantastic publish?
I value you posting your perspective.. So content to get located this submit.. Excellent thought processes you possess here.. Enjoying the post.. many thanks
What a information of un-ambiguity and preserveness of precious familiarity concerning unpredicted feelings.|
Hello.This article was extremely remarkable, particularly since I was looking for thoughts on this issue last Thursday.
cool read indeed. OK I would like to contribute too by sharing this cool site with downloads, that personally helped me collect some awesome and easy to tweak. take a look at http://scarab13.com.
love the blog
thank you very much
Hi there mates, pleasant piece of writing and pleasant urging commented here, I am actually enjoying by these.|