I need to call some privileged APIs and need some help on this.

First the Basics:
This program auto-launches each time a user logs in. It is an authentication type of program. Only users with this app running will be allowed to use a secure network.
I need to be able to read and write from the route / arp tables, and possibly be able to 'reset' a network adapter. These are the privileged APIs I need to call. I have only found "UNIX" APIs to do this, no apple APIs although I am sure they would have the same restrictions.
Anyway, what I don't want is that elevate privileges prompt each time a user logs in. I am sure this would become very annoying.
Possible solutions (I have no idea how to do these):
1. The installer sets it up to run with admin / privileged access when it starts. I only know how to get a program to start with user privileges (the one that logged in).
2. The installer flags / registers something that this app can make those API calls. IE: The App is trusted.
3. The program is split in to two parts and uses Interprocess communication to talk to the privileged part. This still leaves problem #1, how do you get an app to launch as privileged.
Any other ideas and suggestions would be welcomed.

What you normally do in this case is write a kernel extension that does all the work and then have a user interface that the user runs. What you are describing sounds very much like a VPN. This is exactly how the Cisco VPN software works, for example.

Similar Messages

  • Can I download an iWeb site so that I can change the html? I need to add a better blog and also some SEO.

    Can I download an iWeb site so that I can change the html? I need to add a better blog and also some SEO.

    Where is your site hosted? If it's hosted on MobileMe you can use SEO to edit the site online.  No need to get it locally.
    If the site is hosted with a 3rd party fpt client then publish your site to a folder on your hard drive, use SEO on it there and then upload the site to your server with a 3rd party ftp client.
    What do you mean "add a better blog"?
    OT

  • I ordered Office 2011 with my MBA, but only the trial version came installed - and no product key was ever emailed to me or included in the shipment. Three calls each to Apple and Microsoft have not solved this.

    I ordered Microsoft Office 2011 with my Macbook Air, but only the trial version came installed - and no product key for the full version was ever emailed to me or included in the shipment. Three calls each to Apple and Microsoft have not solved this and I am at wit's end. Each company blames it on the other - I don't care whose fault it is, I just want the product key so I can use Microsoft Office!  Please help.

    You should have received a DVD in the box (with the MBA). 
    See: https://discussions.apple.com/message/12805337#12805337
    Call AppleCare (they need to send you a DVD, which has the Product Key printed on the sleeve).

  • I need to reinstall acrobat X standard and need a link  to download

    I need to reinstall acrobat X standard and need a link  to download
    Linda

    Did you purchase the software on physical media or did you originally purchase a download?  Have you checked your order page to see if it is available?

  • Help Needed-iTunes has encountered a problem and needs to close.

    Hey guys,
    I have had this extremely frustrating problem that just recently started occurring with iTunes. I have read many discussion forums but can’t seem to find a working solution. The problem is every time I try to open iTunes I get an error message that says “iTunes has encountered a problem and needs to close.” The same thing happens when I try to open Quicktime as well.
    I have tried every solution suggested in these forums. I have completely uninstalled Quicktime and iTunes along with their components (Bonjour, Apple Mobile Device Support, Apple Software Update, etc.) and then reinstalled each of them but the problem still remains. I do NOT use iTunes for my iPod (I do not own one) I simply use iTunes to listen to my music.
    I have also tried the methods of installing Quicktime by itself and not with iTunes but the problem still remains. I have tried every solution I have seen. The only method I have not tried is completely removing all files and folders that have to do with iTunes because I am worried if I delete those files with all the music I have bought it will have to be downloaded again or lost.
    This is the “Error Signature” that is on the error report when I try to open iTunes.
    AppName: itunes.exe AppVer: 9.0.2.25 ModName: ntdll. dll
    ModVer: 5.1.2600.5755 Offset: 0001b21a
    There was A LOT more information in the “Error Report Contents” but it would have taken me all night to type it all accurately. If that is what is needed then I am willing to provide any other information about this problem in hope of getting some useful suggestions or solutions. Any help would be deeply appreciated. Thanks!

    that's been happening to me all day! i hope someone answers soon. bought my daughter an itunes card for christmas and now can't use it

  • Hi everyone. i need to delete me itunes account and start a new one. this is get old pics, msg's etc of my old broken phone. anyone got a step by step ?

    hi everyone. i need to delete my itunes account and start a new one. i dropped my old phone and bought a new one as i could here finger tap noises but couldn't see anything. anyone have a step by step guide to deleting the account ?

    Why do you think you need to delete your iTunes account? Why don't you want to use it for the new phone?

  • I need to call a java program and pass parameters from C#

    I'm new to C# and was given a project to rewrite some of my old VB.net programs to C# to help me learn.  These VB programs call quite a few .bat files that have calls to java programs in them. I'm doing okay converting my VB code, but I've been
    stumped for days trying to figure out how to call java from C#. 
    Does anyone here know how to do this?  I really should've had this figured out by now and my back is to the wall.  Ugh :(
    This is the line from the .bat file that I need to convert to C#. 
    call jvbat production_r115.Automotive m:\data\MK115mn.100 m:\data\MK115mn.101 %6
    There is one parameters being passed, %6
    I would be forever grateful if someone can show me how to do this!

    Hi Joni,
    Do you mean call a bat file that it is a Java program from C#?  If so, there is an article talking about it.
    If that's not what you're trying to do, please be more specific about what you're trying to do.
    http://www.c-sharpcorner.com/UploadFile/maheswararao/CallingJavaProgramfromCS12062005233321PM/CallingJavaProgramfromCS.aspx
    Now the next issue is pass some parameters from C#.
    The above article tells using Process.Start() method to call java program. Also  in this class, you could  specify them all in the
    Arguments property:
    var p = new Process();
    p.StartInfo.Arguments = string.Format("{0} {1}", argument1, argument2);
    For more detailed information, please refer to
    C# Passing Multiple Arguments to BAT File
    Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control
    these sites and has not tested any software or information found on these sites;
    Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information
    found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • My call log is not maintaining and observed some are disappear ??? Ie both dailed and received also, My call log is maintaining and observed some are disappear ??? Ie both dailed and received also

    My call log is not maintaining and some are missing in middle dates both dailed and received also.

    Recent calls is set 100 calls that's includes dialed and missed call

  • I need to call specific header,line and footer based on condition

    Hi All,
    i am working on PO report and it has 3 PO_types. In my rtf i created 3 Header,3 Lines, 3 detials. And at a time only one Header, One line and one detail should call based on PO_TYPE.
    Can any body guide me, to achieve this. Or is there any other way for it?
    Thanks in advance !
    Regards,
    Ad

    Maybe you can try the <?start:body?> and <?end body?>

  • Im trying to make a purchase on a gaming app. It's a 50 dollar purchase of diamonds(tokens) for a game called warrior's 3, and for some reason it's not going through this is the fourth time this has happened to me and every time you say just wait thirty

    I've already gone into my settings and checked billing info and it's correct. Can you please help I don't want to wait till morning when Apple is open again finally.

    Who says 'wait thirty' ? We are fellow users here on these forums, you're not talking to iTunes Support nor Apple
    What do you mean by 'not going through' ? If you are getting an error message then what does it say ?
    If you are getting a message to contact iTunes Support then you will need to do so : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
    If it's a different problem ... ?

  • I seem to have what used to be called a memory leak and need to restart FF every 45 minutes or so - can I fix it?

    2fter about 2 weeks of closely monitoring 2 PC's with roughly the same specs running the same Facebook game it has become clear that as minutes go by the amount of memory being consumed by Firefox goes up. It starts at about 250 megs and runs up to about 1 gig in ~45 minutes. Both machines are 3 ghz, 3gb machines running 32 bit XP home. (Older P4 CPU's) One of the machines is running DDR2 and the other DDR
    When the memory get's to about 750 megs used by FF the entire system bogs down noticeably and gets almost unusable beyond that. Is there something I can do about it or is there a way for me to automate the shut down and restart of FF and have it return to the game?

    A tiny suggestion,
    I heard that a lot of the time this is caused by extensions and add-ons. Try to disable all of them and see if it is any difference. If its better just enable one extension at the time until you found the problem.
    If you cant solve the memory issue, here is a fix that should work making ff restart, if not at a specific memory usage, but on a specific time at least:
    Open notepad and write the following:
    ''taskkill /f firefox.exe''
    Name it FFShutdown.bat and save it
    Open a new page of notepad with this line:
    start firefox.exe https://support.mozilla.com/
    Save that file as FFstart.bat
    Now go to windows task scheduler
    Start > Programs > Accessories > System Tools > Scheduled Tasks
    Browse to your FFShutdown.bat and choose daily and set a time.
    Do the same for FFStart.bat but set it one minute later.
    Repeat this if you want it happen more than once per day.
    Hope that helps

  • I need to activate adobe acrobat 3D and need authorization code

    I need to activate an old version of Adobe 3d because the new versions of acrobat does not support 3D.
    I need authorization code

    The current version of Acrobat Pro (XI) does support the embedding of 3D models provided they are in U3D or PRC format, and Adobe Reader will display them as it always has done - but only on desktop operating systems. Adobe has never supported 3D on mobile.
    The last version which came with a file converter tool to translate 3D models into U3D was Acrobat 9 Pro Extended. That's been discontinued for years and reached End of Life in June 2013, which means Adobe no longer provides any support for installation or use of that version.
    The file converter tool which shipped with Acrobat 8.3D was licensed from a third-party and is now part of the SAP document management platform. It is no longer sold as a standalone product.
    As of Acrobat X, all 3D model translation is handled by commercial plugins available from Adobe's official partner - http://www.tetra4d.com

  • IDVD created DVD plays on some DVD players and not others, HELP!

    Hi everyone,
    I just finished a huge wedding photo montage and burned it using iDVD to a standard DVD-R. I popped it into a Sony home DVD player and all went well, and looked great. Next I tried the DVD in a Mintek portable DVD player (so it's easier to take to the wedding and connect to the LCD projector) and the DVD is not recognized. I tested another computer burned DVD (from a wedding video that was burned on a PC) in the mintek and it does work. I also tested the mintek using a standard store bought DVD movie and it worked fine.
    Any thoughts on why this might be happening? I've browsed through the prefs for iDVD in search of some "compatibility" options but there aren't any.
    The wedding is Saturday so I'm really hoping to get this sorted out quickly.
    BTW I'm using the MATSHITA DVD-R UJ-815 (the one that came standard in the original 1GHz, 17" Powerbook)
    Thanks everyone!
    Dave-G

    Your problem is the Mintek portable DVD player.
    Some older DVD players will not play the newer burned media.
    This is by design to force conusmers to always upgrade and update there equipment to stay a head of the technology curve.
    I had the same problem with a 2 year old stand alone player wouldn't play anything I burned. It would play on other computers and on newer stand alone players but not on a 2 year old player. (VERY FRUSTRATING) I bought a new cheap stand alone and quess what , All was good it played.
    There are different codes that are on these players that distingish the players capability.
    Good Luck.
    Don

  • TS1702 When I try to purchase an app I get the message to contact I tunes support. My credit card info is all updated with no problems. Do I need to call someone or is there a way to figure this out on my own?

    When I try to make a purchase I see the message contact I tunes support. Nothing has changed with my credit info, it's not expired. I can put a free app on just cannot purchase one. Is this a problem I can solve on my own or do I need to speak to someone? CATHY

    There may be an issue with your Account...
    Cathy91 wrote:
    When I try to make a purchase I see the message contact I tunes support.
    To Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Need to upgrade to Captivate 4 and need answers before purchase!!

    I called Adobe sales, customer service, and tech support and no one seems to have an answer for me and they put me on hold for over 15 mins so I am trying this forum for help.  So if any Captivate Gurus out there can answer my questions I would greatly appreciate it.
    I currently have Macromedia Captivate 1 Education Version and would like to upgrade to Captivate 4.
    1. In Captivate 1 if you create Flash demos, it creates an HTML file and a SWF file. I heard from someone who has Captivate 3 that it now creates more than 2 files. Is this true for Captivate 4?
    2. I read in Captivate version comparison page that Captivate 4 has the ability to convert your Captivate demo in to PDF with Captivate 4. If so, will the PDF carry the 'demo features' or will it be a standard PDF?
    3. I have an Education version for Captivate 1 so is it cheaper to upgrade to Captivate 4 or just purchase Captivate 4 and does Captivate 4 have an education version?
    Thank you!!

    Hi there
    mhbcb wrote:
    I called Adobe sales, customer service, and tech support and no one seems to have an answer for me and they put me on hold for over 15 mins so I am trying this forum for help.  So if any Captivate Gurus out there can answer my questions I would greatly appreciate it.
    I currently have Macromedia Captivate 1 Education Version and would like to upgrade to Captivate 4.
    1. In Captivate 1 if you create Flash demos, it creates an HTML file and a SWF file. I heard from someone who has Captivate 3 that it now creates more than 2 files. Is this true for Captivate 4?
    We will be happy to try and help. Indeed you may end up with more than two files when you create content from version 4. Is this a problem? If so, why?
    mhbcb wrote:
    2. I read in Captivate version comparison page that Captivate 4 has the ability to convert your Captivate demo in to PDF with Captivate 4. If so, will the PDF carry the 'demo features' or will it be a standard PDF?
    Please restate the question. I'm not sure I understand what you are asking. From what I understand, you end up with a PDF containing your Captivate output.
    mhbcb wrote:
    3. I have an Education version for Captivate 1 so is it cheaper to upgrade to Captivate 4 or just purchase Captivate 4 and does Captivate 4 have an education version?
    Thank you!!
    I think Adobe has education versions for most or all of their products. If Captivate 1 has an education version I'd be surprised if 4 didn't. But only Adobe Sales can definitively answer that. Or perhaps another user that purchased (or was denied purchase of) a Captivate 4 education version.
    Hopefully this helps... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

Maybe you are looking for

  • IPod Touch Won't Backup or Sync on Windows 7 Ultimate / iTunes 10

    Recieve the following error message when I try to backup my iPod Touch (iOS 4.3.3 8J2) to iTunes 10: (on Windows 7 64-Bit Ultimate) > iTunes could not back up the iPod "leeand00's iPod" because the backup > could not be saved on the computer. I've tr

  • PDF (metadata) is not displayed in WIN7 Windows Explorer

    The PDF Tab (metadata) does not get displayed (such as: Title, Author, Subject, Keywords) when viewed in Win7 Windows Explorer. This information is displayed when you view the Properties information via Adobe Reader (v9.4). This is causing issues wit

  • .pdf file on the desktop that cannot be deleted

    I have a .pdf file on the desktop that gives me a "cannot be deleted" message when I try to delete it or drag to trash. It was downloaded from a "kosher" website. How do I get rid of it?

  • SCCM 2012 cannot access distribution point as a data source for OS image

    I am trying to path a data source to one of our file servers and get the following error: I am guessing this is a permissions issue.  The path is correct. This is also a distribution point and I have no trouble distributing content to it.  The SCCM s

  • User Exit Variable for Bex in CMOD (ABAP Code)

    Hi Experts   My requirment is to develop a Restricted Keyfigure...   The restriction is based on 0Calmonth (Calendar Year/Month) The sales from beginning of calendar year up to last "closed" month in a Calendar. Ex: in June i want to see 01.01.2009 t