Cross-platform portability

Hi all,
I'm building a custom ebook wrapper that I'd like to be able to deploy on any system. The issue is that I need to include the raw text file of the book in the jar file in order for the program to work and be self-contained. I don't want just anybody to be able to reach in and snag that file if they feel so inclined. The only way I've heard of to make a jar fully platform portable is to distribute it in a file with shell scripts specific to the major operating systems (Windows, Mac and Linux), but that leaves the jar contents vulnerable. Is there a way to lock or encrypt the jar file so keep the resource inside it safe, or is there a better way to do this altogether?
EDIT: I haven't gotten any replies, so I guess I'll try this in a more general sense--does anyone know if there's a way to encrypt a specific file in a JAR so the JVM can still read it, but it can't be easily read by someone extracting the jar file? That is, make the resource machine-readable, but not human-readable?
Thanks!
Jezzica85
Message was edited by:
jezzica85

No, I don't know what Ant is. I use Eclipse 3.2.
So, if I encrypted the data, that would mean that the
person extracting the jar file couldn't read the text
file if they opened it, but they might be able to use
my java code to figure out how to decrypt it?
Thanks,
Jezzica85Yeh they might be able to. But that's always a risk. You have to ask yourself just how likely is it that will happen? Everyone starts off thinking the workl is out to nick their code and such-like, but they're usually wrong
If your users had to put in a password, and that password was involved in the encryption/decryption, that would be safer. Have an ask on the Cryptography board about it

Similar Messages

  • Cross platform CS on PC to CS3 on Mac does not work like video says

    Your video on cross platform workflow states that you can import older Premier CS files on a PC into CS3 on a Mac. I tried this and get the message, "this project was saved in a aversion prior to Adobe Premiere Pro CS3 and cannot be opened on a Mac. Please refer to the User Guide for import options." I guess I have to assume then that the video, www.adobe.com/go/vid0236, is wrong about this? Can someone please explain how I can salvage the work I did 3 years ago on Premiere Pro 1 on a PC when I am now exclusively working on the Mac in CS3?
    Thank you.

    Ty,
    This has come up a few times and the solution is to find a PC CS3 user, who will Open the Project and then Save it in CS3-CS4 for you. I does mean that you'll have to befriend a PC-person, but who knows, maybe you can reciprocate later on. In each previous instance, this workflow, PC to PC to Mac worked perfectly. Note: the same holds for Encore Projects, and there is some PC to PC incompatibilities between very early versions and later versions. I had to Open and Save an Enocre 1.0 Project in CS2, so a CS4 (only) user could then Open in CS4. This stuff happens, and the skip in Mac porting can play a role in it. If I had CS3 on my PC's, I'd do it for you, but CS2 will not hlep you.
    I believe that P 6.5 was the last previous version ported for the Mac, until CS3.
    Good luck,
    Hunt

  • Need Help in Cross Platform Migration

    Hi Gurus,
    can you please tell me best way to do Corss Platform Migration with minimum down time and we are planning to do from AIX TO HP-UX.
    oracle version is 10g
    and can we do the data sync using streems if it is can you give the steps to configure streems in cross platform.
    Thanks in advance.

    High Availability Customer Case Studies, Presentations, Profiles, Analyst Reports, and Press Releases
    [http://www.oracle.com/technology/deploy/availability/htdocs/HA_CaseStudies.html?_template=/ocom/print]
    Check under Transportable Tablespace at the bottom
    [Multi Terabyte Database Migration|http://www.oracle.com/technology/deploy/availability/pdf/TheHartfordProfile_XTTS.pdf]
    HTH
    Anantha

  • External Hard Drive won't appear on PC (want cross platform)

    I have an external USB Hard Drive. I formatted it using the Disk Utility, OS Format and Journaling. Did a small partition in case I needed a system boot drive. Now my sis needed to backup her laptop (Dell laptop), but the drive won't appear in My Computer, it recognizes there is a USB device on the lower task bar, but no drive anywhere.
    Do I have to reformat? what steps do I need to make this USB drive cross-platform friendly?
    Paul

    Hi, Paul.
    You may not want to reformat the drive as FAT-32 since there is a limit on the size of the partition, the maximum file size, and other issues, especially if her Dell's drive is formatted as NTFS (FAT-32 does not support NTFS extended attributes). FAT-32 is unsuitable for backing-up Mac OS X volumes as it cannot preserve the extended attributes (permissions, etc.) employed by Mac OS X.
    It's really best if you each have your own external hard drive for backup, as part of implementing a comprehensive Backup and Recovery solution, such as I use and detail in my "Backup and Recovery" FAQ. You also don't want one person inadvertently writing over another person's backups, which could happen if one is not careful. Furthermore, it is often easiest for recovery.
    How one handles backup in cross-platform environments is tricky and depends on the native formats employed by the different computers involved, and whether backup will be performed over a network or by directly connecting backup drives to the computers one is backing up.
    To enable her Dell to use the Mac-formatted drive, install Mediafour's MacDrive for Windows on the PC. MacDrive for Windows is probably the state-of-the-art application for enabling you to use Mac-formatted disks and hard drives on Windows-based PCs.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Steps to create Cross-Platform Transportable Tablespaces

    hi
    what is the steps to do Cross-Platform Transportable Tablespaces.
    i want to perform this in my pc, i have linux and windows in same PC, i want to migrate from linux to windows and vice versa.
    so can i know complete steps and commands to perform Cross-Platform Transportable Tablespaces. to get complete knowledge i am doing this so i can implement this in my office when any migrate issues comes. so once i do this i will get confidence so that i can do the same in my office which saves my time.
    veeresh s
    oracle-dba
    [email protected]

    Hi, also you can review the Note:413586.1 into metalink site.
    Good luck.
    Regards.

  • Which product to purchase (cross platform necessary from Mac to PC) Adobe Photoshop 6.0.x to ???

    I have ancient Mac photoshop and pagemaker files. i need best cross platform product for windows that can access these files. adobe photoshop is my primary concern. I understand the indesign cs2 will import old school mac photoshop 6.0.x but is not compatible with windows 7 ... thank you.
    In particular we use windows 7 x64
    So in summary, need to determine which Windows 7 x64 version of Indesign CSxx will still open archaic Mac Adobe files (layouts, EPS, etc).  Or is there a similar product that must be obtained.  I prefer to stick to Adobe products, however, if I must go elsewhere and you can help -- please advise. 
    Also, if you know what I should obtain, does this product have a trial download option that I can test functionality before purchase?  Warranty when I do buy information -- and return policy in general?
    Many thanks.

    PM support has long been pulled from InDesign. You are going to need some old version like CS or CS2 and save an intermediate step to ID files. PS is not a probelm at all. All programs have 30day trials and Adobe has a general 14day return policy. Refer to the product pages on teh website.
    Mylenium

  • PDF with special characters (é, ñ) needs to be legible cross-platform(mac & pc)

    I am using Illustrator to design a PDF. Because it's in Spanish, accent marks and other special characters are needed (á, ñ).
    When I export the PDF from the ai file and view it on my mac it looks fine. However, when I open it on a pc some of the special characters are completely missing.
    I tried Creating Outlines with the text, although it will make it harder to update in the future and so less preferable to leaving the text editable. Creating Outlines works fine on the mac, however on the pc the L's appear thicker than they actually are.
    Does anyone know how to make special characters legible cross-platform when creating a PDF using Illustrator?
    Thanks!!

    Does anyone know how to make special characters legible cross-platform when creating a PDF using Illustrator?
    Yes. You use a correct OpenType font that has the glyphs in the place where they belong and can be embedded without limitations. Older TrueType or PostScript fonts are simply unsuitable as are fonts that cannot be emebdded and require to be installed locally. It all comes down to system language settings vs. the unified environment inside acrobat. This also requires any PDF to be created on systems with the language settings correct in the first place, i.e. creating Spanish text with a Japanese version of AI would be pretty desastrous due to how foreign language fonts are accessed... check these things and then try again. If possible, enforce embedding of the full font in the PDF settings, not just a subset and choose a suitable font.
    Mylenium

  • Email images and signatures not displaying cross platform??

    I have noticed something odd when emailing people who are using windows. For some reason, attachments and signatures that are images (.jpg files that WILL open in a browser on the PC) or PDF's do not show up in the body of the email I send to them. Yet they are using HTML email, and emails they send to ME do have images showing up correctly in both the body of the email and the signatures on my Mac. Is there something on my end that I need to do in the formating to make this cross platform? Has anyone else run into this?
    I'm confused, I thought HTML was HTML....

    Same here... in Outlook 2007 many times the Mac email signature ends up as an HTM attachment... Any news on this odd behavior!

  • How to make cross platform screensavers

    I work on an Imac on os X. I need to make screensavers for
    cross platform (win/mac) distribution. I have flash 8 pro. Is there
    any viable solution cheaper than the $200 for "Iscreensaver" or
    $300 for "screentime" softwares? Failing that, does anyone have a
    preference between the two? do you know if they allow flash
    interactivity or just animation?
    thanks in advance
    Bob

    chakradude wrote:
    > I work on an Imac on os X. I need to make screensavers
    for cross platform
    > (win/mac) distribution. I have flash 8 pro. Is there any
    viable solution
    > cheaper than the $200 for "Iscreensaver" or $300 for
    "screentime" softwares?
    > Failing that, does anyone have a preference between the
    two? do you know if
    > they allow flash interactivity or just animation?
    Unfortunately there is no choices for you when comes to MAC.
    Windows has over
    30 really good screensaver tools, some of which very capable
    and totally free.
    Myself do not use Mac but friends who do, use the
    "screentime" as preferred tool.
    Check the features, see what you need and which tools deliver
    what you looking
    for than pick the winner :)
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Cross platform "work around?"

    I've done some searching, so I know the answer to cross platform product transfers is a resounding no.  I have a mac and I originally bought CS5 for Windows a few years ago when I had a PC.  The PC has since died.  It appears there's a few ways mac users can switch between running OSX and Windows on their Macs though.  My question is, if you ran the Windows operating system on a Mac, would you be able  to install /use a Windows CS5 disc on your mac at that point?  Theoretically it would seem possible.  Anyone have any experience with this?

    Just remember that Virtual machines and machine emulation does not perform as well as running a programs in it native environment.  Also some things may not work exactly like the should.  If you hace a PC CS5 licence you can upgrade that to Mac Photoshop CS6 standard for  $200 or Extended for $400

  • Any cross platform chat app (eg. Whatsapp) for Ash...

    Hello,
    Does anyone know any cross platform chat app which can be used on Asha 501? I bought the phone today and I was only able to find Nokia Chat which is preinstalled on the phone but that app is not available on android.
    Any help regarding this?
    Thanks.
    Solved!
    Go to Solution.

    PrakashGupta wrote:
    can any one tell whatsapp application supports for nokia asha 501?
    Hello !  Please  tell me the battery life  ,  is very good ? 

  • What's a good cross-platform choice?

    Hey,
    I use LE and GB, but I would like to have any suggestions about a good cross-platform program that I could use to do some collaborations with a friend who is stuck with a Windows-based system for now.
    Anyone?

    If you want a DAW that is cross platform, you have the choice between Cubase, ProTools and Live. Cubase is probably the most Logic-like but considering the full-of-bugs reputation it has, I'd stay away from it. ProTools is great but you'll need dedicated hardware. That left us with the last but not the least: Live. Altough people think this is a loopy, djing kind-of-software, it's a pretty good DAW by itself, even if you're working in a more traditionnal, linear way. I used to do the bulk of my composition work with Logic and do the audio edition with ProTools. Now, the more I use Live, the more I don't use the other two anymore. And believe me, even if that asks you to think differently at the beginning, it gets very addictive!

  • Are cross-platform upgrades allowed?

    I own a copy of Adobe CS3 for Windows. I have recently purchased a Mac, and need to get Adobe Creative Suite (preferably CS6) set up on it. Do I need to buy a completely new version of Creative Suite for the Mac, or can I buy a Mac upgrade version, and then use my serial code from CS3 Windows version to validate the upgrade version on my Mac? If I can do that, is it allowed to also buy an upgrade version of CS6 for Windows, and install that using the same CS3 license key to validate the upgrade version on Windows?

    Yes ,it is possible to upgrade from cs3 to cs6 & that also cross platform, yes it should  accept the windows previous version serial key , The Enter Serial Number Upgrade dialog box also accepts the Windows serial number{if not then contact Adobe support }.
    The best option is to place the order through the adobe sales team
    800-585-0774
    Monday-Friday
    9am-10pm (Eastern Time)

  • Can you still get a cross platform upgrade for CS3?

    I'm a mac user and recently purchased CS3 Design Premium for windows used -- does anyone know you can still get a cross platform upgrade from windows to mac without upgrading to CS4?

    I am very, very sorry to read that. My windows pc is just crashed because of a virus my payed anti-virus program could not deal with, and everything have to be cleared totally. (XP pro - browser used at the virus-time = Mozilla. Anti-virus program = The price winning PC-tools)
    Have to start all over again from scratch.
    Therefore I wanted to change to a new Mac machine for my CS3.
    I know I could upgrade to CS4, but do not need the CS4 for the time being, so I have to stay with Windows.
    Alle my other programs - Nikon - Topaz -  Nik-software - Hemi. - Jason Odell - have been so very helpfull and trusted me and have send me new keys - THANK YOU, you have a lot of problems when this problem happens, so they removed some of the stones, , but not Adobe, they said by telephone (I also tryed a mail, but no answer), that I have to sit at the pc for installing and then try to call them by telephone to get help for autentification, and nobody can promise me it will be the same day.
    Last time it took one and a half our to get through by telephone.
    I really love your program (CS3 extended) ....... but not this.

  • How can I get C3PO's working in the Cross Platform Client

    Hi!
    I need to know if it is possible to use C3PO's in the GroupWise 7 Cross
    Platform Client?
    If not, is there some method documented to achieve the same functionality?
    Thanks,
    Chris

    It's even mentioned in the API reference, section "LrView text properties":
    height_in_lines : (Read-Only)
        Calculates the minimum height using this as the number of lines
        that should fit. If height_in_lines is set to -1, and width or
        width_in_digits or width_in_chars is specified, text wraps.
        (number, default: 1)

Maybe you are looking for

  • How to import data usin Import manager if one of the field is of type LOOKUP[FLAT].

    Consider a scenario: Where I created a Main table named STUDENT and it has 4 fields, a) Among which 2 fields are OF DATA TYPE TEXT[50] and b) Remaining two are of DATA TYPE LOOKUP[FLAT] and corresponding look up table also created in the repository.

  • Arabic data export to PDF from Business Object 6.5

    I have Arabic data in oracle 10g database. In Business Objects 6.5 report, am able to see the Arabic data as well. When I save the BO report as PDF, the report data in arabic appears as ????? I serached all the documentation and scoured the web, but

  • Changed wav file names – files unrecoverable

    Hi. I was asked to import some important imterviews made on an iPod mini and an ExtremeMac Micromemo onto a Mac, but, as requested, I change the file names first. Since changing the file names the files are completely unplayable, undownloadable and u

  • Proxy authentica​tion for Internet N8 - Symbian 3

    Hello, Who can help me with proxy authentication for internet N8, i can configure proxy adress and port but i need user name and password, i can't find it. Please if anybody know it, help me. Thks, Cristian

  • How to retrieve pie chart wedge id

    Hi. I'm trying to figure out how to get an id or index of a specific wedge from a pie chart I think I'm close. I just need to find the right path to the wedge id. This is what I have so far. <fx:Script><![CDATA[         import mx.charts.events.ChartI