Browse a Listing
Top > PHP > Tips and Tutorials > Security
Popular Tags
Free Script links
Member Reviews
Visitor Ratings
Google PR
Member Reviews
Visitor Ratings
Google PR
Member Reviews
Visitor Ratings
Google PR
Member Reviews
Visitor Ratings
Google PR
Hotlinking is when another website links directly to one or more of your images or multimedia files and includes it on their web page. Not only is this theft of your intellectual property, but further more, you are paying for the bandwidth used by that site. Which can result in a problem with your budget.
The most common way to prevent others from hotlinking your content is Apache's mod_rewrite. While this a solution that free available to use, there are a couple drawbacks. One being, that Apache has to be configured to use mod_rewrite (--enable-rewrite). Another one being, that for a lot of people writing regular expressions is not the most easiest thing to do.
Of course there are commercial solutions to the problem. Probably the most common one is cPanel. An administration interface for webserver, which let's you create all the necessary items for your hotlink protection with a matter of clicks, in a matter of seconds.
Problems with common Hotlink Protection
Category:
Write a Review
Add Favorite
Refer it to Friend
Report Broken Link
Date Added: Jan 6, 2007 Hits: 6 Rating: 0.00 Votes: 0
Member Reviews
Visitor Ratings
Google PR
Member Reviews
Visitor Ratings
Google PR
There's no point to think of the importance of validating your visitor's input. A very important aspect of this process is credit card validation. How do you spot if the entered value is a valid credit card number? There are 2 reasons for doing this and there are 2 ways of doing it.
Category:
Write a Review
Add Favorite
Refer it to Friend
Report Broken Link
Date Added: Mar 7, 2007 Hits: 16 Rating: 5.00 Votes: 1
Member Reviews
Visitor Ratings
Google PR
I will start this tutorial by telling you that it's wrong to restrict access to your visitors. Why would you want to do that?
Maybe you want to restrict spam bots - you should use captcha in this case.
Maybe you want to restrict certain users from accessing your web site...I recommend you to alter your database and just add a simple field to store the status in (1=active, 0=inactive).
Category:
Write a Review
Add Favorite
Refer it to Friend
Report Broken Link
Date Added: Mar 24, 2007 Hits: 7 Rating: 0.00 Votes: 0
Member Reviews
Visitor Ratings
Google PR
The regular expression, as a pattern, can match all kinds of text strings helping your application validate, compare, compute, decide etc. It can do simple or very complex string manipulations. The list of possibilities is enormous when it comes to what you can achieve using regular expressions. You can take any phrase that starts with an "A" or any character and do various things with it. You can match phone numbers, email addresses, url's, credit card numbers, social security numbers, zip codes, states, cities.....(the list never ends). A huge script that is supposed to validate a user input and prepare it for sql can be reduced to only one line with the help of preg_replace.
Category:
Write a Review
Add Favorite
Refer it to Friend
Report Broken Link
Date Added: May 30, 2007 Hits: 22 Rating: 0.00 Votes: 0
Member Reviews
Visitor Ratings
Google PR
Member Reviews
Visitor Ratings
Google PR