Page 5 of 5 FirstFirst 12345
Results 41 to 50 of 50

Thread: OSDash server authentication is here!

  1. #41
    FLAC SFiorito's Avatar
    Join Date
    May 2004
    Posts
    1,364
    it's like justchat_1 said, you need to run in full trust to make outbound calls.

    turning this into a SOAP service won't help, it'll have the same problem.
    EWF, HORM, MinLogon on XP.

    Zotac ION Atom N330, 2GB low-profile RAM, M3-ATX
    Win Embedded Std 2011 RC
    OCZ Vertex Turbo 30GB SSD
    Lilliput 629 Transflective, WRX Screen Mount
    BlueSoleil BT, i-Blue GM-2 GPS, DirectedHD Radio, Andrea Mic
    VoomPC 2

  2. #42
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    works in mono under Linux . At any rate, I think matt figured it out and is moving on.
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  3. #43
    Antenna Engineer
    Auto Apps:loading...
    optikalefx's Avatar
    Join Date
    Apr 2009
    Location
    Baltimore, Maryland, United States
    Posts
    831
    Blog Entries
    86
    Sweet!

  4. #44
    fka - Nextabyte_Matt ioi8's Avatar
    Join Date
    Apr 2006
    Location
    Cleveland
    Posts
    125
    Update, its working and complete. Test it out below.

    Use this form to create a session. Enter in your username and password (non MD5 for testing). It will return the user session hash. http://www.matthewslagle.com/test/Se...nSoap&tab=test

    Then use this form to authenicate your session. Enter in your session hash and it will return a hash of your userid. This is the service that other webservices will call to authenicate the user's session. http://www.matthewslagle.com/test/Se...nd=SessionSoap

    The create session service will only be accessible from the MP3car's website. We could have users sign up in their mp3car user control panel or even make a script that activated everyone. We only need the username (or user id) and password hash to generate a session.

  5. #45
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Location
    Corning, NY
    Posts
    7,359
    Blog Entries
    2
    This is cool. I think. I don't understand what it's doing. The create session part I get. What's the session hash/authenticate mean?
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

  6. #46
    Raw Wave
    Auto Apps:loading...
    justchat_1's Avatar
    Join Date
    Jul 2008
    Location
    Boston, Ma or NY,NY
    Posts
    1,783
    When you create a session you get a session hash.... you then pass that session hash on to a web service and it needs some way of authenticating it -> the second link. It makes sure the session hash is valid and also tells the web service who you are without having to transmit any personally identifiable information (your just number to the service, not a username, password or any combination of the two).

  7. #47
    fka - Nextabyte_Matt ioi8's Avatar
    Join Date
    Apr 2006
    Location
    Cleveland
    Posts
    125
    Quote Originally Posted by Bugbyte View Post
    This is cool. I think. I don't understand what it's doing. The create session part I get. What's the session hash/authenticate mean?
    A session hash is used by webservices to authenicate the user. The session hash is a combination of username + password to generate a unique session per user. This way, services can authenicate the user, get the user's id (mp3car forum id) all without storing the user's name and password.

    Also, sessions can be remade by changing your mp3car password. Change your password, the session changes and the old one becomes stale.

    Basically, the FE accessing the osdash services will store the session hash for later use. Or if the FE is using one of trip's clients, the client will store the session hash.

  8. #48
    Raw Wave
    Auto Apps:loading...
    justchat_1's Avatar
    Join Date
    Jul 2008
    Location
    Boston, Ma or NY,NY
    Posts
    1,783
    session hashes should last the life of the session.... not until the user changes passwords...

  9. #49
    fka - Nextabyte_Matt ioi8's Avatar
    Join Date
    Apr 2006
    Location
    Cleveland
    Posts
    125
    Is the OSDash server up? We need to setup 2x DBs and 2x folders for webservices (one testing and one for dev)

  10. #50
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Location
    Corning, NY
    Posts
    7,359
    Blog Entries
    2
    The server is up. I just tried it and got the authentication object back.
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

Page 5 of 5 FirstFirst 12345

Similar Threads

  1. GPSTracker on home server
    By lambosprit in forum GPS
    Replies: 319
    Last Post: 07-12-2012, 05:35 PM
  2. Lilliput screen on Ubuntu
    By yam125 in forum Linux
    Replies: 13
    Last Post: 06-13-2011, 10:19 AM
  3. OSDash Web Interface Definition
    By Bugbyte in forum OSDash - Web Interface
    Replies: 19
    Last Post: 12-31-2009, 01:32 PM
  4. OSDash - Client definition
    By Bugbyte in forum OSDash - Client
    Replies: 9
    Last Post: 12-22-2009, 11:34 PM
  5. Windows Server
    By Quattro in forum Off Topic
    Replies: 11
    Last Post: 04-17-2006, 11:22 PM

Bookmarks

Posting Permissions

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