Repository Management: Difference between revisions

From iPhone Development Wiki
No edit summary
Line 11: Line 11:
== Private repos ==
== Private repos ==


The most trivial implementation of private repository is to restrict access based on UDID. Cydia sends the user's UDID via the <tt>HTTP_X_UNIQUE_ID</tt> HTTP header, so your server could check that against a database in order to ensure that the user has rightful access.
The most trivial way to get private repository is to restrict access based on UDID. Cydia sends the user's UDID via the <tt>HTTP_X_UNIQUE_ID</tt> HTTP header, so your server could check that against a database in order to ensure that the user has rightful access.


=== PHP implementation ===
=== PHP implementation ===


A PHP implementation can be found [https://github.com/Luccifer/UDID-protected-cydia-repo here].
A PHP implementation can be found [https://github.com/Luccifer/UDID-protected-cydia-repo here].

Revision as of 05:13, 15 May 2014

This page contains instructions for getting a personal repository set up, and general tips and tricks.

Novice

If you have no interest in setting up your own server, you can always use MyRepoSpace.

Advanced

saurik wrote a pretty detailed explanation on how to get a repository set up a while back.

Private repos

The most trivial way to get private repository is to restrict access based on UDID. Cydia sends the user's UDID via the HTTP_X_UNIQUE_ID HTTP header, so your server could check that against a database in order to ensure that the user has rightful access.

PHP implementation

A PHP implementation can be found here.