Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Is it advised to use DNOA rather than implementing the protocols myself?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sam Naseri  
View profile  
 More options Aug 13 2012, 9:51 pm
From: Sam Naseri <naseri.mey...@gmail.com>
Date: Mon, 13 Aug 2012 18:51:20 -0700 (PDT)
Local: Mon, Aug 13 2012 9:51 pm
Subject: Is it advised to use DNOA rather than implementing the protocols myself?

Hi,

Introduction:
I have been trying to understand DNOA source codes for a while. Even I were
unable to build the solution so far. The only official documentation I
found was http://www.dotnetopenauth.net/documentation/  which does not
cover even a very basic sample for OAuth 1 or 2. Actually the documentation
page only has content for contribution to project and also OpenID.

As the result of lack of documentation and not having my questions answered
in StackOverflow I failed in using DNOA. I went for other libraries. And
the situation for other libraries were worse.

So I decided to implement my own library for OAuth 1.0a and OAuth 2.0
according to specification. Despite reading DNOA sources codes to
understand them took 3 month of my time, I implement these two protocols in
only a week and now it is working for Microsoft, Facebook, Google, Twitter,
Yahoo, LinkedIn and Meetup.

My Questions:
What is the downsides of implementing OAuth 1.0a or 2? I dont know what all
those huge amount of code is doing in DNOA, am I missing something?
Having said that my implementation works fine, I am not sure it is secure
enough? Is there any security issue I should pay attention to? Does DNOA
take care of security like it did for documentation, or a better work is
done in that area?

Kind Regards,
Sam Naseri


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Arnott  
View profile  
 More options Aug 13 2012, 10:39 pm
From: Andrew Arnott <andrewarn...@gmail.com>
Date: Mon, 13 Aug 2012 19:39:24 -0700
Local: Mon, Aug 13 2012 10:39 pm
Subject: Re: [dotnetopenauth] Is it advised to use DNOA rather than implementing the protocols myself?

Hi Sam,

I'm sorry that in three months you didn't get any answers to your
questions.  Did you try this mailing list before now?

A great deal of care went into the code and security of the library.
 Documentation includes not just the link you mentioned, but also the
samples which you get with the .zip download, and the xml
docs<http://docs.dotnetopenauth.net/v4.1/>.
 Among those, most folks find what they need.

Implementing a security protocol shouldn't be treated lightly.  An HTTP
server can be trivially implemented in a week too, but there is a reason
that IIS and Apache have large codebases and have dozens of security fixes
in their past.  I recommend you check out the DNOA samples, ask your
questions on this mailing list, and give a few days more to trying DNOA.
 DNOA may itself have security bugs (I can't promise there aren't any)
after all IIS and Apache have them too.  But the likelihood that DNOA has
security bugs is probably much lower given its age and thorough use in the
wild.

--
Andrew Arnott
"I [may] not agree with what you have to say, but I'll defend to the death
your right to say it." - S. G. Tallentyre


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brad Laney  
View profile  
 More options Aug 14 2012, 12:34 am
From: Brad Laney <brad.j.la...@gmail.com>
Date: Mon, 13 Aug 2012 23:34:32 -0500
Local: Tues, Aug 14 2012 12:34 am
Subject: Re: [dotnetopenauth] Is it advised to use DNOA rather than implementing the protocols myself?

Honestly I bet you are missing out on a lot of things when it comes to
implementing OAuth properly.

I'm sorry you had such a rough time implementing this, I managed to
implement 2 of the 4 grant methods in OAuth2 in about a week and a half,
and get it out to production ready to use.

The sample is fairly good... the only thing that is really missing is a
tutorial showing you were to go to modify all the customizable parts. The
key for me was the correct class on the resource server. Which was the
ResourceServerHost class (something like that)

On Mon, Aug 13, 2012 at 9:39 PM, Andrew Arnott <andrewarn...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »