Results 1 to 4 of 4
  1. #1
    Karlovsky120 is offline Member
    Join Date
    Jul 2013
    Posts
    15
    Rep Power
    0

    Default Getting files from user computer to google cloud drive

    So I have a program that is used to create a document. Program is closely related to a site that I partly manage. User would usually upload document to that specific site, but I want to relieve him of that trouble and enable him to one-click email it to me or my co-admins, and let us deal wih the uploading. However, I want to do it without any securty leaks. The goal is to get the file from users computer to a gmail shared cloud drive. I just need to get it as an attachment to an email. A google script would then move the attachment to proper g-drive folder.

    The only way I know of doing it right now is to set up and additional e(g)mail account and then, using javamail, log in to that account and send an email from that account. However, that requires of me to enter the password in my program. If anyone wanted, he could get to it and mess up my sender email, thus breaking that option in my program.

    It doesn't necessarily be done using emails, only thing that is required is that I get the file to google cloud drive and that I do it in a way nobody would be able to mess it up just by decompiling and reading my code. Less dependable on external sites it is, the better.

    Also, the site I partly manage has it's on webmail system which I can use, if it's any help. I don't know how gmail incoming email authentication works, but maybe I could circle around it by sending email to other server (with weaker authentication policy) and have it forward the email to gmail.

    I could maybe setup a temporary SMTP server on my users computer (has to be embbedable in java code) and then send it from localhost, but I don't think it would pass gmail checks.

    Does anyone have any ideas?
    If not, maybe you can refer me to a site where somebody might know?

  2. #2
    Karlovsky120 is offline Member
    Join Date
    Jul 2013
    Posts
    15
    Rep Power
    0

    Default Re: Getting files from user computer to google cloud drive

    I want to ask this on Stackoverflow, so if somebody could erase this so I could avoid cross-posting, that would be great. Thanks! =)

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,423
    Rep Power
    20

    Default Re: Getting files from user computer to google cloud drive

    There's no rule against cross posting. All we ask is that you provide links on both threads so that members on either forum can see what's already been discussed, and take it from there.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  4. #4
    Karlovsky120 is offline Member
    Join Date
    Jul 2013
    Posts
    15
    Rep Power
    0

    Default Re: Getting files from user computer to google cloud drive

    It got voted down as an offtopic anyway...

Similar Threads

  1. Replies: 10
    Last Post: 02-06-2013, 06:12 PM
  2. Replies: 0
    Last Post: 01-18-2013, 10:12 AM
  3. Replies: 0
    Last Post: 10-19-2012, 12:27 PM
  4. Timers synchronized over cloud based google app engine
    By kyle12345 in forum New To Java
    Replies: 1
    Last Post: 11-23-2010, 12:30 AM
  5. Replies: 2
    Last Post: 03-18-2009, 08:36 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •