Let $X$ be a topological space and $\mathcal{F}$ be a sheaf of sets. Let $\mathrm{Spe}({\mathcal{F}}):=\bigsqcup_{x\in X}\mathcal{F}_x$ be the underlie set of the etale space of $\mathcal{F}$. We expect to equip it with a topology s.t.
- the projection map $p:\mathrm{Spe}({\mathcal{F}})\to X,s_x\mapsto x$ is continuous, i.e. $\bigsqcup_{x\in U}\mathcal{F}_x$ is open for all open $U\subset X$;
- $\forall U\in \mathrm{Top}(X),\forall s\in \mathcal{F}(U),s^\#:U\to \mathrm{Spe}({\mathcal{F}}),x\mapsto s_x$ is continuous.
- $\forall U\in \mathrm{Top}(X),$ for all set maps $f:U\to \mathrm{Spe}({\mathcal{F}})$ over $X$ that is not of the form $s^\#$ for some $s\in \mathcal{F}(U)$, $f$ is not continuous.
With all the three conditions holding, then the sheaf of sections associated to $p:\mathrm{Spe}({\mathcal{F}})\to X$ represents the sheaf $\mathcal{F}$. And the reverse is also true.
Clearly the topology $\tau$ generated by the subbase $\{s^\#(U):U\in\mathrm{Top}(X),s\in\mathcal{F}(U)\}$ satisfies all the conditions.
Update: By this link Final topology, it states the finest topology on $X$ s.t. a family of set maps $f_i:Y_i \to X$ with topological spaces $Y_i$ and set $X$, is continuous, uniquely exists. It can be shown that $\tau$ is the finest topology on $X$ s.t. condition 2 holds (also stated in Hartshorne, see Ex 1.13 on pg.67). Hence any topology satisfying all three conditions is contained in $\tau$.
The question is:
if there exists another topology $\tau^\prime$ satisfying the above three conditions, do we must have $\tau =\tau^\prime$?