Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Network & Security > ARCHIVES - Security
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Security Want to know if you should really apply the latest kernel patch? Want to know how to configure your firewall? Discuss any Security related topics in here!

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 15-Feb-2007, 18:28
J_70
Guest
 
Posts: n/a
Default

I am trying to set up a secure file transfer site. Ideally I would like communications from the client to the server to be encrypted (ssh) and I do not want users to have any shell access. Basically they could SCP files from their computer to a home directory. This is a one-way pipe. They are submitting files to the server, not retrieving them from the server and they should not have any way to get to a command prompt.

Thoughts?
  #2 (permalink)  
Old 15-Feb-2007, 20:17
G0NZ0
Guest
 
Posts: n/a
Default

i use this service menu i created myself (but it works, not broken even if its G0NZ0-made ), i paste the content here below the star line.
Assuming you're using KDE, copy the text below and save the file as upload_to_server.desktop
Then place it in /home/USERNAME/.kde/share/apps/konqueror/servicemenus

You need to replace the entries in upper case letters with your server address and paths of users.
Also, this does not change the permission of the file, it you want to change them in a way that the file on the server is not readable to anyone else other than owner then replace
scp -p
with
scp

**************************************************
Quote:
[Desktop Entry]
Actions=upload_to_server
ServiceTypes=all/allfiles
Encoding=UTF8

[Desktop Action upload_to_server]
Name=Upload to server
Exec=dcop klipper klipper setClipboardContents; scp -p %u USERNAME@WEBSERVER.DOMAINUBLIC_HTML/%n; dcop klipper klipper setClipboardContents "http://YOURSITEADDRESS/%n"; konqueror http://YOURSITEADDRESS/%n
Icon=network
[/b]
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2