• Post Reply Bookmark Topic Watch Topic
  • New Topic

file upload using SSH

 
PradeepPillai Pradeep
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have s simple struts program to upload files. But the issue is my boss is worried about the security and he wanted to use ssh protocol. Anybody has any idea bout how this can be done? I appreciate the advice.
Thanks in advance.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why don't you use HTTPS for the upload? That would encrypt the file in transit, and would be very little effort, since you already have it working over HTTP.
 
PradeepPillai Pradeep
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That sounds good. How can I convert my program into program using https? The server we are using is Apache Tomcat. I don�t have that much Apache Tomcat experience. Can someone suggest me a good document or briefly tell me how to do this? I appreciate that very much.
Thank you.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat comes with extensive documentation on how to SSL-enable it.
 
PradeepPillai Pradeep
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.
 
Richard Waldicott
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you have to use sftp/ssh you might look at the following component

http://www.jscape.com/sftp/
 
PradeepPillai Pradeep
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks to everybody. I used https. It was easy since I have the program working using http. But now they want to be able to see the file when they upload it. For example if they are uploading a video, they would like to see it in the browser when they upload it. Is this possible? (Most videos are flash videos). I highly appreciate any help.
Thank you very much.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!