• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

File Transfer and Security

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic