![]() |
|
|
|
|
|||||||
| Virtual Private Servers (VPS) Need help with your VPS plan on HostICan? Please feel free to ask and we'll give you the answers! |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
Question: How do I configure WHM to permit logins from only one IP address?
Scenario: I want to be able to use htaccess (or a better method) to enable logins to WHM only from predefined IP addresses. I need the ability to edit those predefined IP addresses. Here is an example htaccess entry (below) that I use on a hosted domain. In general it returns a 404 error if the individual attempting to log in is not on the predefined IP address list. When the user's IP address changes, I just edit the htaccess file and ftp back up to the server. Code:
AuthUserFile /dev/null AuthGroupFile /dev/null AuthName "Access Control" AuthType Basic 2) How can I create an account that would enable ftp access to just that directory? Last edited by roger; 10-17-2007 at 12:15 PM. Reason: Spelling |
|
#2
|
||||
|
||||
|
it's pretty hard to do that. You can do that by a firewall, but if your IP changes.... you're out of luck. So you need to have a static IP, and then make sure you have the right firewalls only to allow you to port 2086.
The best way is prob via .htaccess... keeps most folks out.
__________________
Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | Become a HostICan Affiliate | Create a Support Ticket. |
|
#3
|
||||
|
||||
|
I really wish US GOVT would adopt IPv6 so everyone can have a static IP without issue. Then I would gladly do something like this.
__________________
█ HostICan Discount - New customer? Save $50 on your HostICan hosting purchase! █ HostICan Hosting Reviews - See what other customers say about HostICan. █ Simple Hosting - Web Hosting Made Simple! |
|
#4
|
||||
|
||||
|
Quote:
RIGHT ON!!!!
![]() ![]() ![]() ![]() |
|
#5
|
||||
|
||||
|
Quote:
Have you heard of a certificate or somesuch method of accessing WHM? Maybe there are other solutions (I've got some googling to do I suppose. Ho hum...) |
|
#6
|
||||
|
||||
|
Haha, I have a fan
__________________
█ HostICan Discount - New customer? Save $50 on your HostICan hosting purchase! █ HostICan Hosting Reviews - See what other customers say about HostICan. █ Simple Hosting - Web Hosting Made Simple! |
![]() |
| Tags |
| logins, securing, whm |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Apache-WHM Parsing Error (1 change per session) | marcOpolo | Virtual Private Servers (VPS) | 0 | 01-29-2008 07:26 PM |
| WHM Hostname Confusion!!! | Gr8-Ideas | Virtual Private Servers (VPS) | 5 | 01-10-2008 07:29 PM |
| Change Port Numbers for Virtuozzo & WHM | Gr8-Ideas | Virtual Private Servers (VPS) | 6 | 01-01-2008 03:48 PM |
| Securing your VPS using the WHM interface | roger | Virtual Private Servers (VPS) | 21 | 11-13-2007 03:43 PM |
| How Do I Downgrade PHP With WHM? | itwasntme | Virtual Private Servers (VPS) | 16 | 10-26-2007 09:32 AM |