[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re[2]: [paragui-users] access restriction to theme archive
From: |
Alexander Pipelka |
Subject: |
Re: Re[2]: [paragui-users] access restriction to theme archive |
Date: |
03 Jun 2002 20:07:55 +0200 |
Sure. That's possbile.
By implementing something like "PG_FileArchive::SetEncryptionKey(...)"
and decrypting data transparently.
Maybe we should keep that in mind for the *next* (1.0.3) version.
Alex
Am Mon, 2002-06-03 um 19.52 schrieb Andrew Ford:
> That would be neat, but it would be easier for him to
> just encrypt his files, zip them, and decrypt them on
> load. He would have to hack paragui to support it
> automatically, but at least he wouldn't have to delve
> into zlib. One possibility is to use a magic number
> at the start of every encrypted file, and hack the
> paragui file-reads to make them aware that they have
> to use a key to decrypt the content when they see the
> magic number at the start of a file. For that matter,
> it would be better to hack a version of physfs that
> did the decryption mostly transparently to paragui
> (you'd still have to provide a key), since then there
> is only a single point that you have to change physfs.
>
> Andrew.
>
> --- Alexander Pipelka <address@hidden> wrote:
> > PhysFS is based on zlib (at least if your loading
> > from zip files).
> > AFAIK, encryption is currently not supportet in
> > zlib.
> >
> > If you want to do something like encryption please
> > contact the author of
> > PhysFS <www.icculus.org/physfs>. Maybe he'd be
> > interested in your ideas
> > and maybe something like that gets added to PhysFS.
> >
> > Alex
> >
> > Am Mon, 2002-06-03 um 18.37 schrieb Andrew Ford:
> > > I don't know if it's based on zlib or the info-zip
> > > code (or something else). As far as I know, zlib
> > > doesn't support passwords, but I could be wrong.
> > > Depending on the support in physfs, you might be
> > able
> > > to add a password-aware read to physfs. All in
> > all,
> > > though, I think the easier way is to encode the
> > files
> > > inside the zip. Either way, you're going to be
> > > picking around inside the library code.
> > >
> > > Andrew.
> > >
> > > --- taurus <address@hidden> wrote:
> > > > Hello Andrew,
> > > >
> > > > Monday, June 03, 2002, 16:38:52, you wrote:
> > > >
> > > > AF> Offhand, I don't think that would be
> > possible.
> > > > PhysFS
> > > > AF> (used as the filesystem abstraction layer in
> > > > paragui)
> > > > AF> doesn't seem to support this, and the
> > paragui
> > > > AF> filesystem layer on top of physfs definately
> > > > doesn't.
> > > >
> > > > Is it based on zlib in the lowest level?
> > > > Can zlib work with password protected zips?
> > > >
> > > > Kind regards,
> > > > taurus
> > > >
> > > > address@hidden
> > > >
> > > > ->> "If you will have a megaphone, you will
> > never
> > > > have to be alone..."
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > paragui-users mailing list
> > > > address@hidden
> > > >
> > >
> >
> http://mail.freesoftware.fsf.org/mailman/listinfo/paragui-users
> > >
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! - Official partner of 2002 FIFA World Cup
> > > http://fifaworldcup.yahoo.com
> > >
> > > _______________________________________________
> > > paragui-users mailing list
> > > address@hidden
> > >
> >
> http://mail.freesoftware.fsf.org/mailman/listinfo/paragui-users
> >
> >
> >
> >
> > _______________________________________________
> > paragui-users mailing list
> > address@hidden
> >
> http://mail.freesoftware.fsf.org/mailman/listinfo/paragui-users
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
> _______________________________________________
> paragui-users mailing list
> address@hidden
> http://mail.freesoftware.fsf.org/mailman/listinfo/paragui-users
- Re: [paragui-users] on OpenGL, (continued)
- Re: [paragui-users] on OpenGL, Andrew Ford, 2002/06/03
- Re: [paragui-users] on OpenGL, Alexander Pipelka, 2002/06/03
- [paragui-users] access restriction to theme archive, taurus, 2002/06/03
- Re: [paragui-users] access restriction to theme archive, Andrew Ford, 2002/06/03
- [paragui-users] user themes, Lonnie Cumberland, 2002/06/03
- Re: [paragui-users] user themes, Andrew Ford, 2002/06/03
- Re[2]: [paragui-users] access restriction to theme archive, taurus, 2002/06/03
- Re: Re[2]: [paragui-users] access restriction to theme archive, Andrew Ford, 2002/06/03
- Re: Re[2]: [paragui-users] access restriction to theme archive, Alexander Pipelka, 2002/06/03
- Re: Re[2]: [paragui-users] access restriction to theme archive, Andrew Ford, 2002/06/03
- Re: Re[2]: [paragui-users] access restriction to theme archive,
Alexander Pipelka <=