Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by superme2012 · Aug 28, 2013 at 10:31 AM · serverclientloginsecurity

Client Server Login, Security!

Ok new question, I’m looking into building a web based application that allows login from a remote client (windows, mac build). Problem I found is that the username and password needs to be sent from the client to the web. If that login data is intercepted then access can be easily granted.

So how would one go about creating a secure login system that allows a client to access a back-end web based system?

I think in the most part of what I’m looking at is very secure if I use SSL, however if there was a virus of some kind on the client, that could gain access to the data then that would be a real problem.

Any ideas or suggestions welcome, I’m just looking for a kind of best practice approach.

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image superme2012 · Aug 28, 2013 at 11:28 AM 0
Share

The answer to this is complex passwords and encryption, remember never to embed any passwords into the client.

avatar image superme2012 · Aug 29, 2013 at 12:46 PM 0
Share

After some further testing there is still what seems to be a variability, the only solution I can see is by placing a unique identifier within the client. But that I guess could be found, hmmm. Tricky working this one out.

avatar image Sisso · Aug 29, 2013 at 01:01 PM 0
Share

An unique identifie don't change your problem, it must be sent in ssl exactly like login/password. A uid is better used when you don't what that user choose a unsecure password (like 1234).

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Sisso · Aug 28, 2013 at 01:43 PM

how say that communication is secure? :P

Do as any website does and you will be in the standard. Use the SSL solution. A simple post into a https it is ok. Everything else generally increase complexity and give a "fake security".

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by superme2012 · Aug 29, 2013 at 12:59 PM

Hi, Sisso

The web side is fine and I’m probably going a little over board with this.

The problem I can see is the access data getting intercepted on the client, however this is the same for any client based application I guess.

There is one way I can see that would increase security and that would be to have the login online, and then created a session ID for the client.

That way the client only acts as a receiver for the data based to that unique session ID.

Defiantly over board, but would be nice to see what others have done to handle this secure handshake between the client and the remote account system.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Sisso · Aug 29, 2013 at 01:05 PM 0
Share

I think could misunderstand something. You are afraid about storage in the device the login and password and uses it to contact the server each time? In this case, I thing that login once and store only the token is the better option. It is what a browser do with cookies.

Please, convert your answer as a comment :P

avatar image superme2012 · Aug 29, 2013 at 01:29 PM 0
Share

Yeah sorry I’m not being very clear, will try to explain.

The part of the client to server communication that bugs me, is putting the login detail into the Unity client and then sending that data to the web. I don’t intend to store the login details with in the client so it’s probably nothing to stress about.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

16 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Saftey on Unity Servers 0 Answers

Login System Using XML Server/Client 1 Answer

Compiler Errors on client server login database 1 Answer

Server side security: dynamic hash salt 0 Answers

Network.Instantiate and the Trusted Client problem 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges