Protect folder with .htaccess


We are in need of someone to write an .htaccess for protecting a certain directory, or directories using a ?token= at the end of a url.

What it should have:

I have a ?token= that includes a crypto'd string that would include username;password;ip;timestamp

The .htaccess should decrypt the string and then in the following order look for the following:

- if there is a match for IP in exceptions table on database, allow access

- Otherwise, check username and password against profiles table on the database, if matched, and timestamp is within 5 minutes, check to make sure that the IP in the token is the same as the IP requesting access, if everything matches, allow access. otherwise - forbid access to directory.

If you have questions, let me know.

Skills: Apache, MySQL, Web Security

See more: protect , protect database, htaccess, check username, htaccess apache, htaccess folder protect, check password security, security token, username password match, apache password, htaccess token, apache access, folder protect, token web, apache security check, apache htaccess, apache url, using url access table, write protect, password protect, make url token, htaccess, decrypt password, decrypt access database password, decrypt access

About the Employer:
( 6 reviews ) Toronto, Canada

Project ID: #4193533

8 freelancers are bidding on average $888 for this job


I would be glad to work with you on that project. Thank you.

$750 CAD in 5 days
(112 Reviews)

Full time freelance web developer with over 8 years of commercial experience.

$1250 CAD in 10 days
(39 Reviews)

Hi, Good day! Everything makes sense. Allow me to work on this. I assume your DB is in MYSQL right? Hoping to hear from you. Thanks!

$750 CAD in 5 days
(150 Reviews)

I read your description and will implement the script which will produce .htaccess as you requested. The script first check the token parameter and decrypt then check the individual parameter first ip as you stated More

$750 CAD in 5 days
(33 Reviews)

Hello, I can help you with this, provide more details. Thanks, Alex

$750 CAD in 10 days
(14 Reviews)

Dear Sir, Expertise in Open Source/CRM/ERP/POS/Custom Solutions/Web designing. We do customization as per your requirements. ! With a good Profile in Freelancer and experience of over seven years in the Software Aren More

$800 CAD in 28 days
(9 Reviews)

i can do it

$750 CAD in 21 days
(40 Reviews)

Hi, Lets start to find the most competent resource. Thanks

$750 CAD in 5 days
(4 Reviews)

Hi, Veltrod Software services is a global software consulting company specialized in providing Mobile applications, Social media frameworks and eCommerce solutions. Leveraging best-in-class people, processes, and te More

$1300 CAD in 25 days
(1 Review)