- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- upload file
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
01-01-2004 06:18 PM
01-01-2004 06:18 PM
upload file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2004 06:41 PM
01-01-2004 06:41 PM
Re: upload file
I can not think of anything else now !
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2004 06:47 PM
01-01-2004 06:47 PM
Re: upload file
I am not sure if you can restrict on file format. It looks easy to bypass this just renaming the file to txt.
You can start with restricting the server so only specific users can access the system. ( man ftpusers) besides that you can configure ftpaccess with the ftpaccess command. This takes an extra option in the /etc/inetd.conf file in the ftp line. (-a) and you can make accounts changerooted. For a detailed description do a search on the forum. There are several threats in this subject.
Hope this helps.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2004 01:12 AM
01-02-2004 01:12 AM
Re: upload file
If you have users that are not familiar with the differences between Unix and PC's (or Mac's or mainframes, etc) it would be better that they are not allowed direct access to these machines. Instead, you can write special wrapper programs to perform the required checks and then schedule ftp from within the program after verufying the format of a file.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2004 02:43 PM
01-02-2004 02:43 PM
Re: upload file
You could possibly embed the "file" command into a wrapper to perform one check on the type of data.
I also want to point out that it's possible to write a script/program for the HP server that "catches" Email and writes it to a file. This eliminates the need for FTP. I use this frequently for file transfer. Check out the use of "|" in your mail aliases file (typically /etc/mail/aliases).
Mic