Restrict listing a “root” directory in ProFTPDHow can I create an FTP folder on my Plesk webserver that...
How can I fix this gap between bookcases I made?
Could a US political party gain complete control over the government by removing checks & balances?
Information to fellow intern about hiring?
"listening to me about as much as you're listening to this pole here"
Is Fable (1996) connected in any way to the Fable franchise from Lionhead Studios?
Lied on resume at previous job
Why was the "bread communication" in the arena of Catching Fire left out in the movie?
Landlord wants to switch my lease to a "Land contract" to "get back at the city"
How to create a consistent feel for character names in a fantasy setting?
Are objects structures and/or vice versa?
Is Social Media Science Fiction?
How to deal with fear of taking dependencies
Are cabin dividers used to "hide" the flex of the airplane?
How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?
What happens when a metallic dragon and a chromatic dragon mate?
What does 'script /dev/null' do?
What do the Banks children have against barley water?
OA final episode explanation
Pristine Bit Checking
How to move the player while also allowing forces to affect it
Is there a familial term for apples and pears?
Some basic questions on halt and move in Turing machines
Why is my log file so massive? 22gb. I am running log backups
Patience, young "Padovan"
Restrict listing a “root” directory in ProFTPD
How can I create an FTP folder on my Plesk webserver that will be accessible from everyone without authentification?Configuration for FTP Site in IIS 7.5ProFTPD Virtual User DirectoryWhat could cause this ProFTPD directory listing error?FTP User Isolation issuesProblem with symbolic links in FTP clientProFTPD - Failed to retrieve directory listing while using TLSOliver FTP Directory ListingProFTPd configuration mod_auth_file cross folders with different rights in groupsHow to add user with SFTP/ FTP access to '/var/www/html/website_abc' folder on Amazon EC2 Centos?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I have an FTP server set up where, off the root, there is a file structure laid out by city. Underneath each city's folder are more folders organized by project. I would like to be able to restrict my guest users (using a specific login/password) in such a way that they are unable to view the folders under the city name, but instead have be brought directly to them via an FTP link.
Example:
/
--City1
----Project1
----Project2
----Project3
--City2
----Project4
--City3
----Project5
link: ftp://ftp.company.com/City2/Project4
ftp
bumped to the homepage by Community♦ 36 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I have an FTP server set up where, off the root, there is a file structure laid out by city. Underneath each city's folder are more folders organized by project. I would like to be able to restrict my guest users (using a specific login/password) in such a way that they are unable to view the folders under the city name, but instead have be brought directly to them via an FTP link.
Example:
/
--City1
----Project1
----Project2
----Project3
--City2
----Project4
--City3
----Project5
link: ftp://ftp.company.com/City2/Project4
ftp
bumped to the homepage by Community♦ 36 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I have an FTP server set up where, off the root, there is a file structure laid out by city. Underneath each city's folder are more folders organized by project. I would like to be able to restrict my guest users (using a specific login/password) in such a way that they are unable to view the folders under the city name, but instead have be brought directly to them via an FTP link.
Example:
/
--City1
----Project1
----Project2
----Project3
--City2
----Project4
--City3
----Project5
link: ftp://ftp.company.com/City2/Project4
ftp
I have an FTP server set up where, off the root, there is a file structure laid out by city. Underneath each city's folder are more folders organized by project. I would like to be able to restrict my guest users (using a specific login/password) in such a way that they are unable to view the folders under the city name, but instead have be brought directly to them via an FTP link.
Example:
/
--City1
----Project1
----Project2
----Project3
--City2
----Project4
--City3
----Project5
link: ftp://ftp.company.com/City2/Project4
ftp
ftp
asked Jul 27 '11 at 12:35
Larry G. WapnitskyLarry G. Wapnitsky
31313
31313
bumped to the homepage by Community♦ 36 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 36 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
To do this, when you create the user you set their home directory to be for example /City2/Project4. You also configure the proftpd DefaultRoot directive in proftpd.conf to lock the user to their home directory.
DefaultRoot ~
Unfortunately, we use one guest account for all users. I can't restrict to a specific project directory without creating hundreds of accounts that may only be used one time.
– Larry G. Wapnitsky
Jul 27 '11 at 12:55
I don't think you can do that.
– Iain
Jul 27 '11 at 13:07
OK. Thank you. I'll see how I can change my environment
– Larry G. Wapnitsky
Jul 27 '11 at 13:27
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f294554%2frestrict-listing-a-root-directory-in-proftpd%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
To do this, when you create the user you set their home directory to be for example /City2/Project4. You also configure the proftpd DefaultRoot directive in proftpd.conf to lock the user to their home directory.
DefaultRoot ~
Unfortunately, we use one guest account for all users. I can't restrict to a specific project directory without creating hundreds of accounts that may only be used one time.
– Larry G. Wapnitsky
Jul 27 '11 at 12:55
I don't think you can do that.
– Iain
Jul 27 '11 at 13:07
OK. Thank you. I'll see how I can change my environment
– Larry G. Wapnitsky
Jul 27 '11 at 13:27
add a comment |
To do this, when you create the user you set their home directory to be for example /City2/Project4. You also configure the proftpd DefaultRoot directive in proftpd.conf to lock the user to their home directory.
DefaultRoot ~
Unfortunately, we use one guest account for all users. I can't restrict to a specific project directory without creating hundreds of accounts that may only be used one time.
– Larry G. Wapnitsky
Jul 27 '11 at 12:55
I don't think you can do that.
– Iain
Jul 27 '11 at 13:07
OK. Thank you. I'll see how I can change my environment
– Larry G. Wapnitsky
Jul 27 '11 at 13:27
add a comment |
To do this, when you create the user you set their home directory to be for example /City2/Project4. You also configure the proftpd DefaultRoot directive in proftpd.conf to lock the user to their home directory.
DefaultRoot ~
To do this, when you create the user you set their home directory to be for example /City2/Project4. You also configure the proftpd DefaultRoot directive in proftpd.conf to lock the user to their home directory.
DefaultRoot ~
answered Jul 27 '11 at 12:41
community wiki
Iain
Unfortunately, we use one guest account for all users. I can't restrict to a specific project directory without creating hundreds of accounts that may only be used one time.
– Larry G. Wapnitsky
Jul 27 '11 at 12:55
I don't think you can do that.
– Iain
Jul 27 '11 at 13:07
OK. Thank you. I'll see how I can change my environment
– Larry G. Wapnitsky
Jul 27 '11 at 13:27
add a comment |
Unfortunately, we use one guest account for all users. I can't restrict to a specific project directory without creating hundreds of accounts that may only be used one time.
– Larry G. Wapnitsky
Jul 27 '11 at 12:55
I don't think you can do that.
– Iain
Jul 27 '11 at 13:07
OK. Thank you. I'll see how I can change my environment
– Larry G. Wapnitsky
Jul 27 '11 at 13:27
Unfortunately, we use one guest account for all users. I can't restrict to a specific project directory without creating hundreds of accounts that may only be used one time.
– Larry G. Wapnitsky
Jul 27 '11 at 12:55
Unfortunately, we use one guest account for all users. I can't restrict to a specific project directory without creating hundreds of accounts that may only be used one time.
– Larry G. Wapnitsky
Jul 27 '11 at 12:55
I don't think you can do that.
– Iain
Jul 27 '11 at 13:07
I don't think you can do that.
– Iain
Jul 27 '11 at 13:07
OK. Thank you. I'll see how I can change my environment
– Larry G. Wapnitsky
Jul 27 '11 at 13:27
OK. Thank you. I'll see how I can change my environment
– Larry G. Wapnitsky
Jul 27 '11 at 13:27
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f294554%2frestrict-listing-a-root-directory-in-proftpd%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown