hi all. i was wondering if it was possible to add a additional ftp users with access below /public_html/ in cPanel. i want to keep out my more sensitive includes (such as config files w/ mysql user/pass) outside public domain as well as *.tpl files
i already use the main account to access everything, but want to lock the designers in ~/templates/ (or where ever we decide to put all the *.tpl files)
additional ftp accounts below /public_html/ ?
Moderator: Admins
adding sub-domains won't help because we want the *.tpl files outside of public domain (below ~/public_html/).
pseudo dir structure
i want to lock the designers into
so they don't even think about touching the business logic.
btw, we're using Smarty Template Engine if you're wondering. we just switched to it and it makes life a lot more livable by keeping design and business logic seperate
would it be possible to make this request as a licensee to cPanel because, imo, not allowing us to set sub-ftp's home dirs anywhere in OUR folder is just ridiculous. i would ask but apparently they want ticket submissions. same goes with not allowing users to have full control over THEIR databases such as locks and grants (mySQL)
pseudo dir structure
Code: Select all
~/public_html
~/projects/project_name/templates/themes/theme_name/*.tpl
~/projects/project_name/templates/compiled/
~/projects/project_name/cache/
~/projects/project_name/config/
~/projects/project_name/locale/
Code: Select all
~/projects/project_name/
btw, we're using Smarty Template Engine if you're wondering. we just switched to it and it makes life a lot more livable by keeping design and business logic seperate
would it be possible to make this request as a licensee to cPanel because, imo, not allowing us to set sub-ftp's home dirs anywhere in OUR folder is just ridiculous. i would ask but apparently they want ticket submissions. same goes with not allowing users to have full control over THEIR databases such as locks and grants (mySQL)
-
- Site Admin
- Posts: 713
- Joined: Wed Jun 12, 2002 5:57 pm
- Location: Toronto, Ontario
- Contact:
Better submit a ticket then, because I'm fairly certain you can't do it the way you're thinking of there. Its under their support section, and pretty easy to use (though not intended for end users, you can fake it I guess. Remember when it asks for IP to put in the main server IP).ZeroFill wrote:adding sub-domains won't help because we want the *.tpl files outside of public domain (below ~/public_html/).
pseudo dir structurei want to lock the designers intoCode: Select all
~/public_html ~/projects/project_name/templates/themes/theme_name/*.tpl ~/projects/project_name/templates/compiled/ ~/projects/project_name/cache/ ~/projects/project_name/config/ ~/projects/project_name/locale/
so they don't even think about touching the business logic.Code: Select all
~/projects/project_name/
btw, we're using Smarty Template Engine if you're wondering. we just switched to it and it makes life a lot more livable by keeping design and business logic seperate
would it be possible to make this request as a licensee to cPanel because, imo, not allowing us to set sub-ftp's home dirs anywhere in OUR folder is just ridiculous. i would ask but apparently they want ticket submissions. same goes with not allowing users to have full control over THEIR databases such as locks and grants (mySQL)
the only option found is setting a new ftp user's home directory anywhere within /public_html/.MITeacher wrote:Im pretty sure this feature is available on cPanel. When you create an FTP account, I believe it tells you more about the feature. I know it lets you specify "userx" can only access "foldery" and so on. Im not sure if this is exactly what you're looking for though.
i want to set a new ftp user's home directory to /projects/proj_name/ (which has no relation to /public_html/). if this is possible, please let me know how to do this. take a second look at my pseudo dir structure example above to get a better picture of what i mean.
this is pretty much how the new ftp user account setup looks like
Login: |¯¯¯¯¯¯¯¯¯¯¯¯¯¯|
Password: |¯¯¯¯¯¯¯¯¯¯¯¯¯¯|
Directory: /home/zero/public_html |¯¯¯¯¯¯¯¯¯¯¯¯¯¯|
notice how directory is fixed at /home/zero/public_html than /home/zero, how it "should" be.