Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-05-2012, 09:10 AM
Diablo-Sat Diablo-Sat is offline
 
Join Date: Dec 2010
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default We Bit Of Advice Please

Ok i have my forum and dedicated server so i had re-installed my server and put my backup back on but yesterday the guy we used to have helping us had managed to get into our ftp and admin pannel in my own admin name so how was he able to get in as the server was re installed and new passwords etc etc so is their anyway i can protect the ftp and admin pannel?? as he logged in and changed all our admin passwords etc

--------------- Added [DATE]1336214002[/DATE] at [TIME]1336214002[/TIME] ---------------

is their anyway i can protect the ftp so only i can edit and the admin pannel also
Reply With Quote
  #2  
Old 05-05-2012, 03:40 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should be asking your host how you can protect the ftp as this is a server issue.
Reply With Quote
  #3  
Old 05-06-2012, 02:24 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you allowed anyone other then yourself access to your cpanel with your login details, then they to have access to your site folders via FTP.
So, change you password again, doing so will also change FTP password.
If you have not set up FTP access for anyone to your site folder, in your cpanel, look in the FTP accounts section.

There should be 2-3 automatically set up for you via host when you set up your account. Your main account access, logs & maybe public FTP.

If there are any others that are showing access to your site folder, then someone else made that FTP account when they had access to your cpanel.

Before you delete anything, check with your host to see what FTP accounts were set up automatically when you started your account & if you did not set up any other FTP accounts for anyone else that is showing other then default, delete them after you talk to your host.

While in your cpanel you can password protect your admincp folder and set it up so you are the only one with access to it.

In your cpanel look for the Security Section, then click the Password Protect Directories icon.
Select the "Document Root" option, select main domain then click go.
Click the folder next to your site name to open it, once opened click on the admincp name & not the folder.

One the page that follows you will need to check the "Password protect this directory" option.(Important!!)
Now name the protected directory what ever you want. Save it then click the go back option.
You will now need to Create User.
Use a name other then your site name & create a password that is different then what you use anywhere online. REMEMBER THIS INFO.
Click Add/Modify Authorized user.
Your admincp is now password protected and you are the only person that has access to it even if others on your site have admin access.

Go to your site, login, click the Admincp link. You will now see a login screen different from your main site login.
Enter the details you used when you password protected the admincp, login.
Now you will see your normal admincp login screen, login using your normal site login details

Its really simple to set up.

--------------- Added [DATE]1336275334[/DATE] at [TIME]1336275334[/TIME] ---------------

Also, via FTP, in your includes folder find and edit the config.php using wordpad. Scroll down to the following sections to make sure your user ID is the only ID having permission to them.

USERS WITH ADMIN LOG VIEWING PERMISSIONS
USERS WITH ADMIN LOG PRUNING PERMISSIONS
USERS WITH QUERY RUNNING PERMISSIONS
UNDELETABLE / UNALTERABLE USERS
SUPER ADMINISTRATORS

Click save if you edit, then close it.
Reply With Quote
  #4  
Old 05-06-2012, 04:02 AM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Diablo-Sat View Post
....... put my backup back on but yesterday the guy we used to have helping us had managed to get into our ftp and .....--------------- Added [DATE]1336214002[/DATE] at [TIME]1336214002[/TIME] ---------------

is their anyway i can protect the ftp so only i can edit and the admin pannel also
Adding the backup is probably what did the trick, if you'd taken a cpanel backup after he'd been given access rights then instaling that would have given them right back!


One other thing to add to blind-eddies' suggestion (i have always done that by the way ) is to change the folder name of admin and modcp and change the name in config.php so instead of admincp you can change the folder name in cpanel (not the folder name as in blind-eddies suggestion) to say "MyxyzAdminCp" then in config.php find admincp and replace that for that name, then do blind-eddies suggestion and you'll be golden.

Download filezilla or core ftp le (they are both free) and get to grips with how to use them, then in future if you have someone helping with things you cant manage you can upload the files that they send to you rather than allowing them in
Reply With Quote
  #5  
Old 05-06-2012, 05:53 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Simon Lloyd View Post


One other thing to add to blind-eddies' suggestion (i have always done that by the way ) is to change the folder name of admin and modcp and change the name in config.php so instead of admincp you can change the folder name in cpanel (not the folder name as in blind-eddies suggestion) to say "MyxyzAdminCp" then in config.php find admincp and replace that for that name, then do blind-eddies suggestion and you'll be golden.
I didn't suggest changing folder names, figured this was a hand full.
When any folder is set up to be password protected via cpanel you are ask to name the protected area, not the folder. The name will display in the message when you go to that login screen.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:45 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03664 seconds
  • Memory Usage 2,206KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete