HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftpaccess path-filter question on allowed characte...
Operating System - HP-UX
1825689
Members
3580
Online
109686
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 01:48 AM
04-14-2005 01:48 AM
The example to use for the path-filter section in the ftpaccess is "^[-A-Za-z0-9_\.]*$ ^\. ^-" which restricts spaces and several other special characters. We have a lot of windows clients that attempt to send files with commas or spaces in the file name. I have changed the path-filter to allow this, but I am concerned that the default was restrictive for a reason. Does anyone know why spaces and commas, as well as other special characters, were excluded? Are there security concerns? Was it just to keep wierd file names from being uploaded into the directory?
Where wisdom is called for, force is of little use. --Of course, a hammer does wonders for relieving stress.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 02:13 AM
04-14-2005 02:13 AM
Solution
From the perspective of UNIX, the only character that can't be in a filename is "/". Whitespace is perfectly legal but is generally avoided. If you like, you can even embed control characters. Most shell scripts do most quote pathnames so that those with whitespace are parsed incorrectly.
If you allow very loose filename construction be prepared for some jumping through hoops in your cleanup scripts.
Personally, I think allowing whitespace in filenames is state-of-the-art stupid but nobody asked me.
If you allow very loose filename construction be prepared for some jumping through hoops in your cleanup scripts.
Personally, I think allowing whitespace in filenames is state-of-the-art stupid but nobody asked me.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 03:28 AM
04-14-2005 03:28 AM
Re: ftpaccess path-filter question on allowed characters
I agree with you. So, you don't see any potential security problems. I can deal with the annoyance of wacko filenames.
Where wisdom is called for, force is of little use. --Of course, a hammer does wonders for relieving stress.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP