Encrypting configuration files

I have an application and a configuration file which is xml format.To prevent the user from fiddling with the xml file with a text editor I want to only provide an encrypted version of the file in the released product which I decrypt in memory.
Ive done this using the DES algorithm but of course to decrypt the file you need to use the same key that you encrypted it with so Ive converted the key to a transparent key and written it to another file. So when the application starts it reads the key from the file and then uses it to decrypt the config file on the fly.
This works but because the key is in a plain text file it would be fairly easy for someone to recognise it as a key try it with the various known key algorithms and decode the config file. How can I avoid this, (I could encrypt the key but then I would need to store the key I encrypted it with in another file and so on,,)
Thanks Paul

OK,sorry I dont quite get the multiple key thing
The program below encode a file using key defined in the file then decrypts the file,if you have any spare time I would be grateful if you could explain how would I modify this t o support mutiple keys,
public class ConvertFile
    private static byte[]    rawKey={111,50,78,45,12,78,90,99};
    public static void main(String[] args)
        throws Exception
        encryptFile(new File("originalfile"),
                    new File("encryptedfile"));
        decryptFile(new File("settings.xml.decrypt"),
                    new File("encryptedfile"));
    public static SecretKey retrieveKey()
        try
            //Rebuild Transparent key and convert to secret key
            DESKeySpec keySpec = new DESKeySpec(rawKey);
            SecretKeyFactory keyFactory = SecretKeyFactory.getInstance("DES");
            SecretKey key = keyFactory.generateSecret(keySpec);
            return key;
        catch(Exception e)
            e.printStackTrace();
            return null;
    public static void createKey()
        try
            //Create Secret key
            KeyGenerator keyGen = KeyGenerator.getInstance("DES");
            SecretKey key = keyGen.generateKey();
            //Now get transparent form of key
            SecretKeyFactory keyFactory = SecretKeyFactory.getInstance("DES");
            DESKeySpec keySpec =(DESKeySpec)keyFactory.getKeySpec(key,javax.crypto.spec.DESKeySpec.class);
            byte[] rawKey = keySpec.getKey();
        catch (Exception e)
            e.printStackTrace();
    /** Encrypt a file */
    public static void encryptFile(File plainFile, File encryptedFile)
        try
            byte[] buf = new byte[1024];
            int len;
            //Create Cipher
            Cipher cipher = Cipher.getInstance("DES");
            cipher.init(Cipher.ENCRYPT_MODE, retrieveKey());
            //Encrypt the Data
            FileInputStream fis = new FileInputStream(plainFile);
            FileOutputStream fos = new FileOutputStream(encryptedFile);
            while ( (len = fis.read(buf)) != -1)
                fos.write(cipher.update(buf, 0, len));
            fos.write(cipher.doFinal());
            fos.close();
            fis.close();
        catch (Exception e)
            e.printStackTrace();
    /** Decrypt a file */
    public static void decryptFile(File plainFile, File encryptedFile)
        try
            byte[] buf = new byte[1024];
            int len;
            //Create Cipher
            Cipher cipher = Cipher.getInstance("DES");
            cipher.init(Cipher.DECRYPT_MODE,retrieveKey());
            //Decrypt the Data
            FileInputStream fis = new FileInputStream(encryptedFile);
            FileOutputStream fos = new FileOutputStream(plainFile);
            while ( (len = fis.read(buf)) != -1)
                fos.write(cipher.update(buf, 0, len));
            fos.write(cipher.doFinal());
            fos.close();
            fis.close();
        catch (Exception e)
            e.printStackTrace();
}

Similar Messages

  • Reading Encrypted Password from Configuration File and Decrypt it at login

    Hi All,
    My application reads a configuration file to connect to the ORACLE database. The values defined for password are clear text as given below:
    user: 'mh'
    password='abcd1234'
    Is there is any way I can give an encrypted password in the configuration file instead of a clear text file and at the time of login ORACLE decrypts it. I am using ORACLE 11g Database.
    My company have a requirement that passwords are not stored in the clear in properties files. the reason being I suppose that if the password is stored in plaintext someone could hit the property file directly, get the password and then connect to the database with it.
    For a regular user connecting through an Oracle client or SQL Developer they would need to have the plaintext password in order to connect.
    its based on the requirements of
    International Standards Organization Guidance
    ISO 17799 � 9.5.4 requires password management systems to:
    � enforce the use of individual passwords
    � allow users to select and change their own passwords if appropriate
    � enforce a choice of quality passwords
    � force regular changes of passwords
    � maintain a record of previous user passwords to prevent re-use
    � not display passwords when they are being entered
    � store password files separately from application system data
    � store passwords in encrypted form using a one way encryption algorithm
    � alter default vendor passwords following installation of software
    So if I can store the password encrypted using a one way algorithm then hacker/user couldn't decrypt it and then access the database.
    I have feeling there is a way of configuring this in Oracle advanced Security, but just can't quite get it to work.
    Edited by: user5568473 on 20-May-2013 00:05

    So if I can store the password encrypted using a one way algorithm then hacker/user couldn't decrypt it and then access the database.... and neither can your application. Encryption is needed in this case. The decryption must be written into your application. I've written my own in some cases, but finding a library for your development language is a smarter solution.
    One alternative is using an Oracle wallet. It doesn't fit every circumstance and does have some maintenance headaches.
    You can set up a basic secure password store to encrypt and store the password for a given user@instance combination, and then connect to the database without passing a password. SQL*Net adds in the appropriate password from the wallet for when you connect.
    http://www.oracle.com/technetwork/database/security/twp-db-security-secure-ext-pwd-stor-133399.pdf
    Advanced Security Option also allows you to set up a Public Key Infrastructure connections (SSL encryption and/or authentication). It also uses a wallet to store the SSL certificates and credentials. I don't have personal experience on this approach.
    SSL and the wallet allow you to connect to the database similar to CONNECT/@net_service_name or sqlplus /@net_service_namehttp://docs.oracle.com/cd/B28359_01/network.111/b28530/asossl.htm#CIHCBIEG

  • No dsn is present in the configuration file in the reporting services 2008

    HI i have found this error in the log file of my reporting services ,
    when i comes to the Configuration file in that
    my DSN path is empty no input code is there in that DSN tags
    <DSN>
    <DSN/>
    it shows the empty tags,
    and my Current Report Server Report Credentials are Windows,Service account credentails
    will it take the problem or what
    We have repair the BIDS setup also still not able to solve my issue.
    once this is  resolved now able to send the emails using subscriptions.
    pls infom abut this , i have sufferd this problem last 20 days.
    Please update the above query with high priority
    TanQ

    Hi Ychinnari,
    According to your description, you found error in log file of reporting services, when you come to rsreportserver.config file, the DSN tag is empty.
    DSN specify the database server that hosts the report server database connection string.  The report server database is created, this value will be encrypted and added to the configuration file. To solve the problem, we need to connect to either an
    existing report server database or create a new one for this instance. For detail information, please refer to the following steps:
    Start the Reporting Services Configuration Manager and connect to the report server instance for which you are creating the database.
    On the Database page, click Change Database.
    We can create a new report server database or select an existing database, then click Next.
    Connect to the instance of the Database Engine that you will use to create and host the report server database.
    Specify properties used to create the database.
    Specify the credentials used by the report server to connect to the report server database.
    Review the information on the Summary page to verify the settings are correct, and then click Next.
    Verify the connection by clicking a URL on the Report Server URL page or Report Manager URL page.
    For detail information about Configure a Report Server Database Connection, please refer to the following document:
    https://msdn.microsoft.com/en-us/library/ms159133.aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • Read and write Values from Configuration File in BizTalk

    There is a requirement where Biz talk orchestration read the value dynamically from Config Store.After some process updating the value in config store.
    I though to use SQL Server and create one table with single column.Biztalk will call the Storeproc to get the value and similary for update system will call another SP.
    Instead of using SQL Server DB is there option to implement this requirement like app.config,BTSsvcxxexe.config ,SSO Config store etc.
    If multi-users access the value from Config store and try to update ,how to handle lock mechanism.

    Hi BizQ,
    Refrain from using BTSConfig file or any custom config file if you have a requirement to update the data. Modifying a
    configuration file at runtime can cause some nasty, unexpected behavior inside your application if it's not managed properly.
    I would suggest you to use Custom DB or SSO Database in this case.
    Both have their Pros and Cons.
    SSO Database:
    You get out of the box encryption
    It is a central store which will service all BizTalk servers within your group
     SSO implements a caching mechanism internally for the data
    Custom DB:
    By storing the configuration in the database you don’t have to worry about consistency of data across servers like you would with a config file.
    Cache needs to be implemented by program to avoid delays in reading from physical file.
    In your case I recommend to go with SSO DB as in terms of storing custom configuration data in SSO for End Point/Application
    specific information and credentials and potentially configuration information which you also need to write and update at runtime from your code or via an administrator.
    You can use Richard Seroter's tool to store values as "Config Store" in SSO database and then write a .net helper
    utility to retrieve it using SSOConfigStore class. It has method GetConfigInfo and you need to pass application name with other parameters. It returns ConfigurationPropertyBag from where you can read property name and values.
    http://seroter.wordpress.com/2007/09/21/biztalk-sso-configuration-data-storage-tool/ 
     http://blogs.msdn.com/b/teekamg/archive/2009/08/19/sso-configuration-application-mmc-snap-in.aspx.
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • Cannot write configuration file

    Hello,
    I have a problem loading up a project I have taken over from some one else. I need some guidance as I can't seem to find the solution. However im not that familiar with .NET or MVS as I once
    was. The message I get is as follows :-
    Microsoft Visual Studio
    Creation of the virtual directory localhost:49623/ failed with the error: Filename: \\?\C:\Users\firstname.surname\Documents\IISExpress\config\applicationHost.config
    Error: Cannot write configuration file
    However I have checked the permissions and can't see anything obvious. Under guidance from another developer I have also updated :-
    www.nuget.org/
    and
    www.nuget.org/packages/Microsoft.AspNet.Mvc
    I am using a Windows 7 enterprise edition Dell Lattitude laptop. With MVS as follows
    Microsoft Visual Studio Professional 2012
    Version 11.0.50727.1 RTMREL
    Microsoft .NET Framework
    Version 4.5.50938
    Installed Version: Professional
    Microsoft Visual Studio Tools for Applications 2012   04938-088-1153812-02395
    Microsoft Visual Studio Tools for Applications 2012
    Office Developer Tools   04938-088-1153812-02395
    Microsoft Office Developer Tools
    Team Explorer for Visual Studio 2012   04938-088-1153812-02395
    Microsoft Team Explorer for Visual Studio 2012
    Visual Basic 2012   04938-088-1153812-02395
    Microsoft Visual Basic 2012
    Visual C# 2012   04938-088-1153812-02395
    Microsoft Visual C# 2012
    Visual C++ 2012   04938-088-1153812-02395
    Microsoft Visual C++ 2012
    Visual F# 2012   04938-088-1153812-02395
    Microsoft Visual F# 2012
    Visual Studio 2012 Code Analysis Spell Checker   04938-088-1153812-02395
    Microsoft® Visual Studio® 2012 Code Analysis Spell Checker
    Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.
    The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V.
    All rights reserved.
    Visual Studio 2012 SharePoint Developer Tools   04938-088-1153812-02395
    Microsoft Visual Studio 2012 SharePoint Developer Tools
    NuGet Package Manager   2.8.60318.667
    NuGet Package Manager in Visual Studio. For more information about NuGet, visit docs.nuget.org/.
    PreEmptive Analytics Visualizer   1.0
    Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
    SQL Server Analysis Services  
    Microsoft SQL Server Analysis Services Designer
    Version 11.0.5058.0
    SQL Server Data Tools   11.1.20627.00
    Microsoft SQL Server Data Tools
    SQL Server Integration Services  
    Microsoft SQL Server Integration Services Designer
    Version 11.0.3436.0
    SQL Server Reporting Services  
    Microsoft SQL Server Reporting Services Designers
    Version 11.0.3436.0
    Web Developer Tools   1.0.30710.0
    Microsoft Web Developer Tools contains the following components:
    Page Inspector: Tool that offers an efficient way to decompose Web Applications and diagnose front-end issues.
    Web Publishing: Extensions required for Web Publishing for both hosted servers as well as on premises.
    Web Form Templates: Includes the default templates for Web Form Applications.
    Editor Extensions: Includes HTML, CSS, and JS editor extensions that greatly enhance the development experience.

    I see some others have had success by removing encryption on the IISExpress folder and removing the Read Only attribute as well.
    See this post for details.
    Others have had success by doing the following:
    - Run Command Prompt (cmd) in Admin Mode
    - Enter the following command: DISM /Online /Cleanup-image /Restorehealth
    ...as detailed here.

  • Can't open AirPort Admin Utility configuration file

    I'm using an AirPort Extreme Base Station connected to a cable modem through the WAN port and to my G4 Cube running OSX 10.2.8 through the LAN port. I also use an iBook and eMac with AirPort cards to wirelessly access my network. My problem is that I can not open the configuration file so that I can change my settings. I get an error message that AirPort Admin Utility can't read the configuration file of the base station. I tried resetting the base station to the factory settings, to no avail. So now I also can't set a password and encryption. Any help would be greatly appreciated!

    To clarify--I previously had a password protected network set up and working. I wanted to change the settings and couldn't open the config file. I reset to factory settings successfully, but still can't open the config file, which I need to do in order to encrypt and set a new password. Thanks!

  • Critical BitLocker Drive Encryption system files are not available

    Hi all,
    We are running into some issues when attempting to configure BitLocker Drive Encryption through the BitLocker UI on Windows Server 2008SP2.
    On running the BitLocker configuration screen we are presented with a message stating that
    ‘Your system volume is not configured correctly to allow you to use BitLocker Drive Encryption. 
    Critical BitLocker Drive Encryption system files are not available’
    We believe this issue may have been caused during a recent hardware migration using the DoubleTake Move software as we encountered a similar issue with the Windows Backup utility not seeing any available HDDs.
    Has anyone else encountered a similar issue and aware of any potential fix?

    I think it should be supported on Windows Server 2008 as it is supported on Windows Vista.
    Can you check whether BdeHdCfg.exe is present in System32 folder. If not can you copy the BdeHdCfg.exe installer from higher version of OS and copy it to the system32 folder on Windows Server 2008 and then run the command with the administrative rights. 
    NOTE : Make sure to change the directory to %SystemDrive%\Windows\System32
    Before running the command.
    Regards, "Gaurav Ranjan" =========== NOTE: Mark as Answer and Vote as Helpful if it helps =======

  • Critical BitLocker Drive Encryption system files are not available- which was working earlier.

    Hello All,
    The E drive  (external USB drive) of server which was encrypted using bitlocker. earlier it was working perfectly fine. On running the BitLocker configuration screen we are getting with a message stating that ‘Your system
    volume is not configured correctly to allow you to use BitLocker Drive Encryption.  Critical BitLocker Drive Encryption system files are not available’
    now whenever we are clicking on E drive it is showing to format the disk.
    can anyone help me to understand which are the files required or repair for bitlocker?
    Thanks & Regards,
    MAsud Hussain

    Hi Masud,
    Do you have any progress at the moment?
    If there are any related error messages in Event Logs, please post them out for further analyzing.
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Encrypting a File using Microsoft PKI Basic EFS template

    Hi All;
    I created a basic EFS template on my Lab issuing CA and configured it for auto-enrollment on the domain . After doing that  I created a  new domain user(Test) on the Active directory and logged in to my windows client machine which is windows 7
    enterprise  using that user (TEST). Now since the machine was set up for auto enrollment the EFS certificate gets issued to the user “TEST” as shown below
    Now as per my understanding this Certificate is tied to the User “Test” for doing crypto operation.
    So now I created a folder a folder named “Puneet” on the desktop of Windows 7 machine and created a file “secret.txt” inside and now I selected the properties of the file “ secret” and selected the advanced option in which I get the pop up “Advanced Attributes”
    in that I selected “Encrypt contents to secure data” and now I believe my EFS certificate should come into picture and help me in encrypting the file .
    But it fails with below error
    I have looked into event log and it does not give much information .
    Note: In home Lab setup KRA is up and running on my PKI setup.
    Has any one of you encountered this error while doing crypto operation using PKI . Any pointers are welcomed
    J

    Hi,
    Do you have any progress on this issue?
    If not, please provide more specific details on the error message for further analyzing.
    Best Regards,
    Amy Wang

  • Package Configuration Files Not loading SSIS 2012

    I've migrated an SSIS 2008 project to SSIS 2012 that uses xml configuration files. When I execute the first package through the IDE, the values in the config file are not populating variables as they did in SSIS 2008. I've enabled Package Configurations
    and added the config files and not sure what I could be doing wrong. Could anyone offer any suggestions.
    Thanks

    Someone else migrated it for me before I had vs2012 installed. So I decided I would try migrating it myself. Now the config files are loading. When I migrated it there was an option for ignore config files that was checked. I unchecked it. Could that have
    been the problem?
    I just have one more issue now...Whenever I open the solution, it loads the config files, but two passwords are encrypted. For some reason it tries to login to the database when I load the package. This didn't occur in SSIS 2008. Do you know of any way to
    disable this? I get about 2 failures before I'm locked out of the db.
    Thanks

  • Configuration files: ️ /etc/hosts - Count: 44 mean

    I used etrecheck on my laptop because it is very slow and the result is below. what does it mean:
    Configuration files: ℹ️
      /etc/hosts - Count: 44

    EtreCheck version: 2.1.5 (108)
    Report generated 11 January 2015 23:23:35 GMT+3
    Click the [Support] links for help with non-Apple products.
    Click the [Details] links for more information about that line.
    Click the [Adware] links for help removing adware.
    Hardware Information: ℹ️
      MacBook Pro (13-inch, Mid 2012) (Verified)
      MacBook Pro - model: MacBookPro9,2
      1 2.5 GHz Intel Core i5 CPU: 2-core
      4 GB RAM Upgradeable
      BANK 0/DIMM0
      2 GB DDR3 1600 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1600 MHz ok
      Bluetooth: Good - Handoff/Airdrop2 supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      Intel HD Graphics 4000
      Color LCD 1280 x 800
    System Software: ℹ️
      OS X 10.10.1 (14B25) - Uptime: one day 21:23:36
    Disk Information: ℹ️
      APPLE HDD ST500LM012 disk0 : (500.11 GB)
      EFI (disk0s1) <not mounted> : 210 MB
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      Macintosh HD (disk1) / : 498.88 GB (252.55 GB free)
      Encrypted AES-XTS Unlocked
      Core Storage: disk0s2 499.25 GB Online
      MATSHITADVD-R   UJ-8A8 
    USB Information: ℹ️
      Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Computer, Inc. IR Receiver
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Inc. FaceTime HD Camera (Built-in)
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Configuration files: ℹ️
      /etc/hosts - Count: 44
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /Applications/Toast 11 Titanium/Spin Doctor.app
      [loaded] com.hzsystems.terminus.driver (4) [Support]
      /Applications/Toast 11 Titanium/Toast Titanium.app
      [not loaded] com.roxio.BluRaySupport (1.1.6) [Support]
      /Library/Application Support/VirtualBox
      [loaded] org.virtualbox.kext.VBoxDrv (4.3.16) [Support]
      [loaded] org.virtualbox.kext.VBoxNetAdp (4.3.16) [Support]
      [loaded] org.virtualbox.kext.VBoxNetFlt (4.3.16) [Support]
      [loaded] org.virtualbox.kext.VBoxUSB (4.3.16) [Support]
      /Users/[redacted]/Library/Services/ToastIt.service/Contents/MacOS
      [not loaded] com.roxio.TDIXController (2.0) [Support]
    Startup Items: ℹ️
      MobileBrServ: Path: /Library/StartupItems/MobileBrServ
      Startup items are obsolete in OS X Yosemite
    Launch Agents: ℹ️
      [not loaded] com.adobe.AAM.Updater-1.0.plist [Support]
      [loaded] com.adobe.CS5ServiceManager.plist [Support]
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist [Support]
      [invalid?] com.adobe.SwitchBoard.plist [Support]
      [loaded] com.macpaw.CleanMyMac2.Agent.plist [Support]
      [loaded] com.microsoft.office.licensing.helper.plist [Support]
      [not loaded] org.virtualbox.startup.plist [Support]
    User Launch Agents: ℹ️
      [loaded] com.adobe.ARM.[...].plist [Support]
      [loaded] com.adobe.ARM.[...].plist [Support]
      [invalid?] com.google.GoogleContactSyncAgent.plist [Support]
      [loaded] com.google.keystone.agent.plist [Support]
      [loaded] com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist [Support]
      [loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist [Support]
      [running] com.macpaw.CleanMyMac2Helper.trashWatcher.plist [Support]
      [not loaded] org.virtualbox.vboxwebsrv.plist [Support]
    User Login Items: ℹ️
      iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
      Google Drive Application (/Applications/Google Drive.app)
      BitTorrent Sync UNKNOWN (missing value)
      AdobeResourceSynchronizer Application (/Applications/Adobe Reader.app/Contents/Support/AdobeResourceSynchronizer.app)
      Android File Transfer Agent Application (/Users/[redacted]/Library/Application Support/Google/Android File Transfer/Android File Transfer Agent.app)
      Dropbox Application (/Applications/Dropbox.app)
      AdobeResourceSynchronizer Application (/Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro.app/Contents/Support/AdobeResourceSynchronizer.app)
      EvernoteHelper Application (/Applications/Evernote.app/Contents/Library/LoginItems/EvernoteHelper.app)
    Internet Plug-ins: ℹ️
      Flip4Mac WMV Plugin: Version: 3.2.0.16   - SDK 10.8 [Support]
      FlashPlayer-10.6: Version: 16.0.0.235 - SDK 10.6 [Support]
      AdobeAAMDetect: Version: AdobeAAMDetect 1.0.0.0 - SDK 10.6 [Support]
      AdobePDFViewerNPAPI: Version: 11.0.10 - SDK 10.6 [Support]
      AdobePDFViewer: Version: 11.0.10 - SDK 10.6 [Support]
      Flash Player: Version: 16.0.0.235 - SDK 10.6 [Support]
      Default Browser: Version: 600 - SDK 10.10
      QuickTime Plugin: Version: 7.7.3
      SharePointBrowserPlugin: Version: 14.2.0 - SDK 10.6 [Support]
      Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Support]
      JavaAppletPlugin: Version: 15.0.0 - SDK 10.10 Check version
    Safari Extensions: ℹ️
      MacCaptain [Installed]
    3rd Party Preference Panes: ℹ️
      Flash Player  [Support]
      Flip4Mac WMV  [Support]
      Growl  [Support]
    Time Machine: ℹ️
      Time Machine not configured!
    Top Processes by CPU: ℹ️
          8% Contacts
          7% WindowServer
          6% Safari
          4% CVMCompiler
          2% hidd
    Top Processes by Memory: ℹ️
      136 MB Safari
      99 MB Mail
      86 MB AdobeAcrobat
      77 MB mds_stores
      73 MB Finder
    Virtual Memory Information: ℹ️
      523 MB Free RAM
      2.03 GB Active RAM
      593 MB Inactive RAM
      833 MB Wired RAM
      14.81 GB Page-ins
      267 MB Page-outs
    Diagnostics Information: ℹ️
      Jan 11, 2015, 09:17:03 PM /Library/Logs/DiagnosticReports/DesktopServicesHelper_2015-01-11-211703_[redact ed].cpu_resource.diag [Details]
      Jan 10, 2015, 11:29:22 AM /Users/[redacted]/Library/Logs/DiagnosticReports/garcon_2015-01-10-112922_[reda cted].crash
      Jan 10, 2015, 02:00:53 AM Self test - passed

  • Wireless configuration files

    Hi Guys, I have a question about wireless configuration files. I have set my wireless up and I am able to get it working. To do this I have to enter the iwconfig command manually.
    iwconfig eth2 essid GillisLAN
    When I do that and restart the network it works fine.  I have read the forum and wiki and have tried many of the suggestions I have found in them. I must be missing something because I cannot get any of the config files to set things up for me. I have posted my the network portion of rc.conf below. I would really like to solve this and need some help.
    David
    # NETWORKING
    HOSTNAME="DsLNVO"
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    #   - prefix an entry in INTERFACES with a ! to disable it
    #   - no hyphens in your interface names - Bash doesn't like it
    # Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
    lo="lo 127.0.0.1"
    ###eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
    ###eth0="dhcp"
    eth2="dhcp"
    ###wlan_eth2="wlan0 essid GillisLAN"
    ##WLAN_INTERFACES=(wlan0)
    INTERFACES=(lo eth2)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    #   - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.7.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up.  These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    #   - set to 'menu' to present a menu during boot-up (dialog package required)
    #   - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network-profiles
    #NET_PROFILES=(main)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    #   - prefix a daemon with a ! to disable it
    #   - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng ipw3945d network netfs portmap fam dbus hal crond kdm)

    As far as I know, wpa_supplicant can be setup without encryption.
    Here is the Arch wiki page on setting up wpa_supplicant-
    http://wiki.archlinux.org/index.php/Wpa_supplicant
    Also take a look here at the WPA supplicant section in the gentoo handbook. It includes helpful examples of different configurations which the Arch documentation doesn't.
    http://www.gentoo.org/doc/en/handbook/h … art4_chap4

  • [appdefaults] section of Kerberos configuration file

    Hi,
    I'm developing a kerberized application which is supposed to be deployed through WebStart, and, therefore, cannot have application-specific krb5.conf file (as far as I understand it). Next, the application has to use des-cbc-md5 encryption. So, if no Kerberos configuration file is provided, this encryption type is used by default. But what if client box has machine-specific Kerberos configuration file (f.x. C:\Windows\krb5.ini) and encryption types list there is configured to prevent using des-cbc-md5?
    Looking through krb5.conf man page I have noticed [appdefaults] section, which is said to contain "default values that can be used by Kerberos V5 applications". Having googled, I found several examples where this section is used to configure telnet, kinit, pam and so on. But the question is: can I use it to set my application-specific Kerberos settings? What should I do to make Java use some value from [appdefaults] section instead of[libdefaults] one based on the name of my application?
    Thanks in advance.

    Hi!
    As far as I know, you should upload the file directly from the Console Server. If you upload Files from any other "managed host" you will run in this limitation.
    Regards
    Martin

  • Imac is no longer able to open the Configuration file

    Hi ,
    I have an imac ( ilamp) 20' connected to ADSL, via Netopia Router which is connected to the Airport extreme connected to imac, for the PB Aluminum Tiger 10.4.5. we both can connect. PB can print via imac/printer.
    The imac is no longer able to open the Configuration file, when i enter the pswd which is correct, i get the message "The Airport Admin. Utility was unable to read the configuration of the selected base station an error occurred while reading the configuration "
    My Beau updated Airport to V5.7, this is the first time since the update I've tried to access the conf. file for the imac which i have done numerous times prior.
    I have a new base station Ip address 254.128.0 in Airport Utility Admin, on the imac which does not reflect my network settings anywhere, and is not what it use to be, i think, it was one value different than the PB.Base station IP. I do not know how it changed neither one of us changed it.
    I tried using the Airport Setup assistant (imac), I received this message:
    "Appropriate Airport hardware was bot found on this computer,if you recently
    Installed, an Airport card,please shut down your computer$ make sure the card is properly istalled."
    The imac does not have a card, nor do i think it needs one.
    I would like to be able to at least open the configuration file.
    Thank you for reading my post.
    Eme
    Power PC G4 (3.3) iMac♥ Flat Panel 10.3.9 & 15 Alum.PowerBook Tiger   Mac OS X (10.4.4)  

    Hi Kes, a star for the company !
    I made an error on my first post I have a Netopia modem, Airport router.
    And so it remains, i guess that there must be an easy answer somewhere
    that I am missing that I/we should read, some direction to that would be helpful, and I would be very appreciative.
    As I said the password had been set, and it is not an issue of that being forgotten, i wondered if it was changed back to "public" tried, not it.
    particular because everytime the imac wakes one of the folders on ( no one else in office just me and boyfriend and it is his work folder he has a copy on the PB.( the folder on desk top has been clicked on, the one with sensitve info, i have backed the folder up and secure trashed it, just in case some security issue hacking has taken place, thats closing the barn door after the fact.
    Good luck,w/ this Q.
    regards Eme
    Power PC G4 (3.3) iMac ♥ Flat Panel 10.3.9 & 15 Alum.PowerBook Tiger   Mac OS X (10.4.5)  

  • Configure File Type Associations dosen't work for users

    Hi EB,
    Does anyones knows how to set the File Type Associations for users ? It works for me when i'm logged in as Admin but not as a user. When logged as user it always ask to configure the file associations when i open JDev and even with JDev open it does not set it. I tried to find an article about that but couldn't find any.
    I'm using :
    winXP SP3
    JDeveloper 11g TP4
    and i've sets all rights for autentified users on the folders and subfolders of JDeveloper.
    Thanks

    I tried going on tool>preferences>File Type .... and associate projets and source and applications files with JDev check marking "open with JDev"... it didn't worked as user... it's just not saving my settings while reopening it it's never saved... at least i've been able to associate it in my Admin account then i can go back in user account and select open file with in windows, choose JDev and check mark "always open that file with that program" only after that the association is saved in JDev... but still it open the Configuration file windows at startup with the ones i already opened with JDev checked... anyway that's not a big issue ... only that i can't save those settings by the JDev environement while logged in as a user...

Maybe you are looking for