• Post Reply Bookmark Topic Watch Topic
  • New Topic

File Transfer and Security  RSS feed

 
guru naan
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have a simple client/server file transfer program which I need to make more secure. I want to use DES to encrypt the file before it gets sent to the server. I know this isn't a security forum but I thought that someone with socket experience might have been faced with this before.
 
Lewin Chan
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're probably best off using SSL in some manner or other, this will ensure that your data is secure at the point of transmission.
download the JSSE from sun.
If you encrypt the file using DES before a vanilla socket send, then you will have to have the same DES key at the receiving end, otherwise you won't be able to decrypt the data... Sending the DES key as plain text isn't all that secure.
 
bakarcom
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear sir
iam working on the same project know ..but i have to use HDLC in my project "File Transfering"
ill be greatfull for u if u help me with my project ...would u please send me the code on my email
mah_bakar@hotmail.com
i would like to see how u do it ,my project must be with HDLC protocol
..with my best wishes
mahmoud bakar
 
bakarcom
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
to be specific sir
i found trouble to find the function that give me the file in astream of bits and store those bits then do the HDLC protocol on those bits
ill be greatfull for u if u help me
mahmoud bakar
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!