Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / January 2006



Tip: Looking for answers? Try searching our database.

Authentication using core data

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Anand Pandey - 25 Jan 2006 11:27 GMT
Does anyone describe that How to add login window before starting any
Application using core data. I make a application using core data, Now
I want to add a new window with userID and password before this window
can I do it with Core data, if Yes then how and if no then what I have
to do..........Its urgent.

Anand
Chris Hanson - 30 Jan 2006 06:11 GMT
> Does anyone describe that How to add login window before starting any
> Application using core data.

This actually has nothing to do with Core Data.  What kind of
authorization are you asking about?  Are you asking how to show the
*system* authorization dialog?  Or are you asking how to implement
*your own* authorization?

> I make a application using core data, Now
> I want to add a new window with userID and password before this window
> can I do it with Core data, if Yes then how and if no then what I have
> to do..........Its urgent.

Again, it has nothing to do with Core Data.  If you just need this to
work within the application, just use normal Cocoa controls and
techniques.  If you need to use Authorization Services for some reason,
check out the documentation on the Apple Developer Connection web site
describing Authorization Services.

 -- Chris
Uli Kusterer - 30 Jan 2006 07:57 GMT
> > to do..........Its urgent.

You know, some people consider it rude to say "it's urgent". After all,
it implies "answer quick, this is important to me". Trouble is, we
answer here for free and on our time, so your definition of urgent has
nothing to do with our current priorities (like leaving for work in 10
minutes so we don't get fired, or whatever...). If it really was
*important* to you, you'd pay a professional programmer to solve your
problem. If it isn't, don't bother us with "it's urgent", okay?

> Again, it has nothing to do with Core Data.  If you just need this to
> work within the application, just use normal Cocoa controls and
> techniques.  If you need to use Authorization Services for some reason,
> check out the documentation on the Apple Developer Connection web site
> describing Authorization Services.

Just to clarify: You don't need authorisation services. There's a
password text entry field (named something like NSSecureTextField or so)
that you can just slap in a dialogue panel.

If you need this to actually be secure, you'll want to fins some code
for encrypting data and run that over everything you put in your
database, maybe by writing a value transformer or so.

Authorisation Services are simply for getting higher permissions (like
admin or root), like an installer does it. Generally you won't need that.

Cheers,
-- Uli
http://www.zathras.de
Anand Pandey - 30 Jan 2006 09:11 GMT
Thanks Uli,

Its very nice to see ur reply,But Don't be fire, I am very new with
Cocoa as well as this Organization. So I am very much worried about my
job. Please don't take it otherwise, next time I always carefull about
this.

Thanks again.Have a nice day.

Anand Ranjan
Michael Ash - 30 Jan 2006 14:16 GMT
> Thanks Uli,
>
> Its very nice to see ur reply,But Don't be fire, I am very new with
> Cocoa as well as this Organization. So I am very much worried about my
> job. Please don't take it otherwise, next time I always carefull about
> this.

One has to wonder about the wisdom of taking a job where the only way to
accomplish what's required is to ask extremely rudimentary questions on
usenet, and saying "it's urgent" in the hope of getting an answer before
one is fired.

Does your employer know that you know almost nothing about Cocoa? If so,
have they not offered to pay for training, or at least learning materials?
If not, don't you think it's in bad faith to deceive them like this?

Signature

Michael Ash
Rogue Amoeba Software

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.