vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Adding user to upload to FTP (https://vborg.vbsupport.ru/showthread.php?t=230217)

Charlie98902 12-14-2009 09:05 PM

Adding user to upload to FTP
 
As the title say I want to allow a user to upload to a folder just for him. He does reviews on PC hardware so I will make a folder just for him but I want to restrict him from the rest at the same time in case an accident happens. Is this possible? How would I go about doing this?

BBR-APBT 12-14-2009 10:20 PM

I would personally make a secure upload script for him to use behind htaccess pass dir.

This way he only has access to upload.

Charlie98902 12-14-2009 10:35 PM

1 Attachment(s)
Didn't know about the htaccess ordeal but in my cpanel it appears I can create a ftp account and also restrict it to one folder if I wish? as I have this .... Would it restrict to the predifined folder and not the whole FTP? This is new to me so please be gentle if I don't word right it's cause I don't know the lingo.

BBR-APBT 12-14-2009 10:37 PM

I am sure it will if that is what it says.

Charlie98902 12-14-2009 10:47 PM

So I just add a folder in the html directory then set up the user account then they will have access to that folder and any sub folders in that folder only right?

BBR-APBT 12-14-2009 10:51 PM

I am not sure I don't use cPanel. It may make the dir for it when you enter the name in that box.

Charlie98902 12-14-2009 10:53 PM

I will look into this tomorrow and try it out and see as I can make a new account just for me as a test then redo it for the user I want to have access to one folder and any sub folders for that folder. Thanks.

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

So other that use CPanel yes it make use of that directory plus any folder made under the initial setting up so the root directory seems protected to not have access. Will test more tomorrow.

James Birkett 12-17-2009 02:05 PM

If you create a folder named "test" inside public_html he would be allowed access to "test" and any sub-folders inside "test".

Of course if you're allowing him to upload PHP and such, you are asking for trouble :rolleyes:


All times are GMT. The time now is 12:34 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.01081 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete