Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PASSWORD PROTECTING ADMIN SECTION


Nielsen_Trading

Recommended Posts

Posted

Hello All,

 

I have bravenet.com for a host , I can buy a year of password protection on their servers for $55.00.

I have searched the forum for infomation on how to password protect the admin. section of my site.

I have tryed to impliment what what I have found, but haven't got it right, and don't understand what I'm doing wrong.

 

1st. one was a patch and the second was the .htacess/.htpasswd. I couldn't figure out how to add the code properly. or in which directory has I didn't upload the catalog folder just the contents. If you can give detailed instruction that would be a help.

 

Also, could bravenet.com block me from using these files to force me to buy their password protection?

I do have .htacess files on the server already.

 

To the gurus--- Should I just buy their password protect service? Is this a common thing with website hosting companies?

They do have a free one but it's loaded with ads and pop-ups..mmmm maybe just the thing to ward off would be hackers?

The pro one lets me protect 500 pages

 

I do perfer not to pay if I don't have to.

 

Any help would be greatly appreciated.

 

Thank you,

 

Sheri

Posted
Hello All,

 

I have bravenet.com for a host , I can buy a year of password protection on their servers for $55.00.

I have searched the forum for infomation on how to password protect the admin. section of my site.

I have tryed to impliment what what I have found, but haven't got it right, and don't understand what I'm doing wrong.

 

1st. one was a patch and the second was the .htacess/.htpasswd. I couldn't figure out how to add the code properly. or in which directory has I didn't upload the catalog folder just the contents. If you can give detailed instruction that would be a help.

 

Also, could bravenet.com block me from using these files to force me to buy their password protection?

I do have .htacess files on the server already.

 

To the gurus--- Should I just buy their password protect service? Is this a common thing with website hosting companies?

They do have a free one but it's loaded with ads and pop-ups..mmmm maybe just the thing to ward off would be hackers?

The pro one lets me protect 500 pages

 

I do perfer not to pay if I don't have to.

 

Any help would be greatly appreciated.

 

Thank you,

 

Sheri

 

No You dshould not have to pay!

Its a pretty simple procedure.... once you know how to do it lol!

First off, can you see your public-html directory?

or better still the root directory?

We can go form there.

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted
Hello All,

 

I have bravenet.com for a host , I can buy a year of password protection on their servers for $55.00.

I have searched the forum for infomation on how to password protect the admin. section of my site.

I have tryed to impliment what what I have found, but haven't got it right, and don't understand what I'm doing wrong.

 

1st. one was a patch and the second was the .htacess/.htpasswd. I couldn't figure out how to add the code properly. or in which directory has I didn't upload the catalog folder just the contents. If you can give detailed instruction that would be a help.

 

Also, could bravenet.com block me from using these files to force me to buy their password protection?

I do have .htacess files on the server already.

 

To the gurus--- Should I just buy their password protect service? Is this a common thing with website hosting companies?

They do have a free one but it's loaded with ads and pop-ups..mmmm maybe just the thing to ward off would be hackers?

The pro one lets me protect 500 pages

 

I do perfer not to pay if I don't have to.

 

Any help would be greatly appreciated.

 

Thank you,

 

Sheri

 

What they want to sell you is more then what you need. In your file manager there should be a way to protect a folder. that is all you need to do to admin.

Posted
No You dshould not have to pay!

Its a pretty simple procedure.... once you know how to do it lol!

First off, can you see your public-html directory?

or better still the root directory?

We can go form there.

Nic

 

 

Thank you Nic & Scott,

 

I don't know what you mean by a public-html directory(looking has I type this--found a pub file folder w/only a .htaccess in it)

 

I have access to my root directory thur both my host website manager & os commerce file manager, but can only write to file thur os commerce, or upload new file.

 

Thanks ,

Sheri

Posted

The contribution in my signature will help you create a .htaccess and .htpasswrd file with instructions on where to place them.

load them on your site and they will always be available to use.

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Posted
Thank you Nic & Scott,

 

I don't know what you mean by a public-html directory(looking has I type this--found a pub file folder w/only a .htaccess in it)

 

I have access to my root directory thur both my host website manager & os commerce file manager, but can only write to file thur os commerce, or upload new file.

 

Thanks ,

Sheri

 

If you can not write to files through your hosts control panel then you should find another host. You should have full control of files through your host. I thought it was strange that they didn't demo there control panel. I didn't see any of ther bells and whistles that they offer that make it worth paying there price. There are better hosts for less money.

 

After reading through there FAQ. you definatly need to move hosts.

11. Does Bravenet Website Hosting support server-side scripts such as CGI, Perl, PHP, ASP, Cold Fusion, etc? We do not support CGI, Perl, ASP, or any other server-side scripts except PHP at this time.

 

I take it your on there free hosting plan?

18. How can I password protect a folder on my website? This is only supported with the Professional hosting. If you want to password protect a single webpage, you can use the separate Password Protect service. To protect your full folder, you will need two files:

 

1. The .htaccess file - this is placed inside the folder you want to protect

 

2. The .htpasswd file - this should be placed in a folder on your site where only you have access to edit it

 

The server path you need to add to the beginning of your AuthUserFile path is located within your Bravenet account. The AuthUserFile path should point to your password file. To get the path, login and click on Websites, click on your URL, then scroll down to the Storage Path.

 

Your .htaccess file would look something like:

 

ErrorDocument 404 /404_not_found.html

ErrorDocument 500 /500_server_error.html

AuthUserFile /misc/23/000/101/600/9/user/web/securearea.mysite.org/.htpasswd

AuthName "Private Area"

AuthType Basic

<Limit GET POST>

require valid-user

</Limit>

 

Your .htpasswd file would look something like this:

 

bravenet:B3nlQW12jcynE

 

You can use an online .htpasswd generator to create your password file.

 

There is also better free hosts around that support most if not all the scripts

Posted
The contribution in my signature will help you create a .htaccess and .htpasswrd file with instructions on where to place them.

load them on your site and they will always be available to use.

 

 

I have tryed this 6 times, but it only 1/2 worked once. It showed a login on window, but whet to an error 500

 

I followed the directions. I don't understand what I'm doing wrong

 

Thanks,

 

Sheri

Posted
If you can not write to files through your hosts control panel then you should find another host. You should have full control of files through your host. I thought it was strange that they didn't demo there control panel. I didn't see any of ther bells and whistles that they offer that make it worth paying there price. There are better hosts for less money.

 

After reading through there FAQ. you definatly need to move hosts.

I take it your on there free hosting plan?

There is also better free hosts around that support most if not all the scripts

 

 

Hi Bill & Scott,

 

Bill, I finally got it to work. I had to add the code in BOTH the root & admin directories Then close the website browser & re -visit my site and it showed up. and worked perfect !!!

 

Thank you very much.

 

Scott,

 

If you can not write to files through your hosts control panel then you should find another host. You should have full control of files through your host. I thought it was strange that they didn't demo there control panel. I didn't see any of ther bells and whistles that they offer that make it worth paying there price. There are better hosts for less money.

 

I can write to my file through my host, just not to a .htaccess file for that I have to use the admin panel on oscommerce.

 

 

I don't know where the last part of the quote is from, but I have paid hosting until 2016. I could use there free page password protecting, but it came with ads. I figured I could use the .htaccess/.htpasswd to protect my admin section, but couldn't figure out what I was doing wrong.

 

 

Thank you All for your help. Now to figure out how to costomize the look of my site.

 

Sheri

Posted
I don't know where the last part of the quote is from, but I have paid hosting until 2016. I could use there free page password protecting, but it came with ads. I figured I could use the .htaccess/.htpasswd to protect my admin section, but couldn't figure out what I was doing wrong.

 

Sheri

 

If your talking about my quotes in post 6 there from your hosts FAQ section.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...